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:
eleksir
2021-05-01 00:40:18 +03:00
parent ec6c63a954
commit b8c3f4957c
8 changed files with 41 additions and 31 deletions

View File

@@ -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/],
};
}