Update objects of Teapot::Bot according Bot API docs. Add missing fields.
+ Add missing fields some of existing objects * Fix copy-paste errors in Teapot::Bot::Object::PollAnswer
This commit is contained in:
@@ -9,10 +9,11 @@ has 'phone_number';
|
||||
has 'first_name';
|
||||
has 'last_name';
|
||||
has 'user_id';
|
||||
has 'vcard';
|
||||
|
||||
sub fields {
|
||||
return {
|
||||
scalar => [qw/phone_number first_name last_name user_id/],
|
||||
scalar => [qw/phone_number first_name last_name user_id vcard/],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user