eleksir
29c1fa8d07
Breaking API changes (handle Mojo loop errors), fix sendMessage method broken in 033441c
...
* Use general method to handle Mojo loop unsuccessful operations
* Do not die if tg api returns error via Mojo loop, lift up error status to upper layer
* Die with confess only in case of Mojo loop does not returns either is_success or is_error set
* Handle incomming updates related to poll event
* Update inline POD in Brain.pm
* Fix overlooked die removal in sendMessage, now it is croak
2020-10-30 15:42:36 +03:00
eleksir
c1b6ca013d
More safe actions in Brain.pm
2020-10-30 15:16:45 +03:00
eleksir
edcd382183
Change fields in Chat object
...
- Removed all_members_are_administrators
+ Add permissions;
+ Add slow_mode_delay;
2020-10-30 13:58:37 +03:00
eleksir
75ee83c94f
Implement ChatPermissions object
2020-10-30 13:39:03 +03:00
eleksir
f93f974cb4
Fix Version in ChatMember.pm
2020-10-30 13:37:40 +03:00
eleksir
a1da4b193d
Add field via_bot to Message object
2020-10-30 13:36:38 +03:00
eleksir
0576a1ea57
Implement getChat() with inline POD
2020-10-30 13:10:33 +03:00
eleksir
1a8fa3e089
Add new fields to User and MessageEntity objects
2020-10-29 16:28:43 +03:00
eleksir
74e58db1b8
Implement getChatMember() with inline POD
2020-10-29 16:06:19 +03:00
eleksir
5cba9755af
Implement ChatMember object
2020-10-29 15:56:00 +03:00
eleksir
113a918010
Some more work on sendChatAction()
...
* Fix return value
* Add POD inline for this method
2020-10-29 15:53:31 +03:00
eleksir
45318757df
Implement sendChatAction()
2020-10-28 18:19:29 +03:00
eleksir
033441c513
First touch to satisfy perlcritic
2020-10-28 18:18:09 +03:00
eleksir
f816840e14
Now Telegram::Bot is Teapot::Bot
2020-10-28 18:12:49 +03:00