First run of Teapot::Bot fixes.
* Fix typos in Brain.pm * Fix typos in User.pm * Implement typing methods in Message object and make use of it * Fix incorrect syntax of unless loops in telegrambot.pm * Add Log::Any as it required by Teapot::Bot * Do not use --update in bootstrap.sh * Add data/lat to .gitignore * Load ChatMember and ChatPermissions in Message object, so we can use 'em and avoid crash * Supply missing $send_args to _post_request
This commit is contained in:
@@ -12,9 +12,9 @@ has 'first_name';
|
||||
has 'last_name'; # optional
|
||||
has 'username'; # optional
|
||||
has 'language_code'; # optional
|
||||
has 'can_join_groups' # optional, only for getMe() method
|
||||
has 'can_read_all_group_messages' # optional, only for getMe() method
|
||||
has 'supports_inline_queries' # optional, only for getMe() method
|
||||
has 'can_join_groups'; # optional, only for getMe() method
|
||||
has 'can_read_all_group_messages';# optional, only for getMe() method
|
||||
has 'supports_inline_queries'; # optional, only for getMe() method
|
||||
|
||||
sub fields {
|
||||
return { scalar => [qw/id is_bot first_name last_name username language_code can_join_groups
|
||||
|
||||
Reference in New Issue
Block a user