eleksir
8eb83ac2b8
Update internal version number of Teapot lib
2023-04-16 17:03:39 +03:00
eleksir
ecf4f94dca
Add general support for BotAPI v6.4
2023-04-16 16:03:38 +03:00
eleksir
1f3675de8f
2/5 Lift up error to caller in Teapot lib, introduce can_talk() in Brain.pm
2023-01-02 19:06:02 +03:00
eleksir
b4e6685213
Add support for Bot API 6.3
2022-11-06 22:08:02 +03:00
eleksir
cefdec95c4
Forgot to sed /voice/video/g in message.pm
2022-05-01 11:50:00 +03:00
eleksir
216a139c18
Update Teapot lib to comply with api v5.6, v5.7, v6.0
2022-04-16 19:51:26 +03:00
eleksir
a9bb74b440
Perlcritic overhaul, apply to Teapot lib too
2022-02-12 17:50:23 +03:00
eleksir
73258dce1c
Fix canTalk() usage in sendChatAction()
2022-02-03 01:36:47 +03:00
eleksir
cfe6f76627
Fix internal mechanics CanTalk() and replyMd() to work with external calls
2022-02-02 18:12:01 +03:00
eleksir
8d35bb2452
Update api with fields from v5.4 and v5.5
2021-12-07 20:11:56 +03:00
eleksir
62650bd8ad
Update to api 5.2 changes (no payments-2.0)
2021-04-30 23:42:54 +03:00
eleksir
5d17018490
Update Teapot::Bot to v5.1 api data types, add some debug
2021-04-04 22:44:28 +03:00
eleksir
252bb86eb8
Add fields sender_chat, dice and proximity_alert_triggered to Message.pm
...
+ Add fields sender_chat, dice and proximity_alert_triggered
* Re-arrange fields list in online-docs' order
* perlcritic fixes
2020-12-21 23:55:15 +03:00
eleksir
4a312e23d1
Add replyMd() to message object, implement canTalk() check in Teapot lib, re-arrange code
2020-12-19 17:15:01 +03:00
eleksir
57120eb461
Bump ver in Teapot::Bot 0.021 -> 0.022 and clenup modules
...
- Remove Encode module from cpanfile and telegrambot.pm
+ Add Mojo::IOLoop, Mojo::UserAgent, IO::Socket::SSL
* Sort cpanfile
* Bump version Teapot::Bot 0.021 -> 0.022
* Add aleesa-telegram-bot.pid to .gitignore
2020-11-07 17:54:58 +03:00
eleksir
97eddd414d
Lint Teapot::Bot with perlcritic
...
* Use List::Util' any instead of grep in Base.pm
* Use croak() in Base.pm
2020-10-31 13:49:37 +03:00
eleksir
a480786afa
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
2020-10-30 18:14:00 +03:00
eleksir
a1da4b193d
Add field via_bot to Message object
2020-10-30 13:36:38 +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