Commit Graph

243 Commits

Author SHA1 Message Date
Ilya
11cbaeaf0e
Merge pull request #532 from codemorego/v3-do-cancel-poll-on-bot-stop-immediately
do cancel poll immediately on bot stop
2022-07-27 07:21:39 +03:00
Beshenka
177166856b bot: fix DeleteCommands 2022-06-27 20:36:29 +03:00
JSP
4d903fb681 Check bot.stopClient is not nil when closing it, could happen if Stop called before or without Start. 2022-06-25 21:41:49 +03:00
JSP
8ec2c93e17 Cancel Raw() call immediately without waiting for the request's timeout when bot is about to stop.
This may become important if doing long polling with long timeout.
2022-06-24 18:36:29 +03:00
Demian
8ad1e044ee telebot: naming, docs 2022-02-08 01:43:15 +02:00
Ian P Badtrousers
043315d184
Merge pull request #482 from swithek/v3-blocking-stop
Wait for the active poller to exit when Stop() is called
2022-02-06 13:49:09 +01:00
swithek
96c9c520b3 bot: block until poller exits 2022-02-05 13:09:37 +00:00
zry98
a596da19f7
Fix naming 2022-01-30 20:42:18 +01:00
zry98
6cc14872e4
Merge branch 'tucnak:v3' into v3 2022-01-30 20:16:51 +01:00
Demian
be2933a4fa all: use errors from the standard library 2022-01-22 19:42:45 +02:00
Demian
b14a065384 bot: set backup OnError if such was not passed 2022-01-21 14:57:46 +02:00
Demian
3a6cb71b40 context: remove excessive fields 2022-01-21 14:47:11 +02:00
Demian
7f936709f3 bot: fix SendAlbum file id setting 2021-11-27 01:29:36 +02:00
Demian
10b70a53b1 chat: fix response struct in the invite link methods 2021-11-08 01:20:05 +02:00
Demian
ab94471e99 bot: fix entities passing for InputMedia 2021-11-07 20:32:22 +02:00
Demian
0463e22543 telebot: rework media, implement Media and Inputtable interfaces 2021-11-07 18:28:21 +02:00
Demian
811e9555ed telebot: implement OnMedia endpoint 2021-11-07 16:25:21 +02:00
Demian
8d1854e2a7 bot: change chat type to Recipient in invite link functions 2021-11-06 17:00:27 +02:00
Demian
8f5f797de8 implement bot api 5.4 2021-11-05 22:31:32 +02:00
Demian
a786fb49b7 bot: implement ChatByUsername 2021-10-13 20:52:30 +03:00
zry98
dbe29aa9b4
Implement missing parameters of commands-related methods 2021-10-12 11:50:37 +02:00
Nikita
694d569c0f
bot: handle Animation in EditMedia 2021-09-30 19:41:17 +03:00
Demian
3c4f3edef6 bot: change ChatByID id type to int64 2021-09-29 21:41:07 +03:00
Enrico204
9992a227c2 Fix SetGroupPermissions JSON request body 2021-09-25 23:28:18 +02:00
Demian
2ef032b358 bot: fix default parse mode embedding in EditMedia 2021-08-31 14:15:54 +03:00
Demian
20ec6fc7fc bot: tidy the chat member type 2021-08-19 17:40:44 +03:00
Demian
570c656d0c context: add original update to the context 2021-08-19 17:26:05 +03:00
Demian
cb12b170d3 telebot: add missed events 2021-08-19 16:40:07 +03:00
Demian
99226e5292 context: add update id field 2021-08-19 13:46:04 +03:00
Demian
f4ae9d0c08 context: add chat member updates 2021-07-26 17:37:48 +03:00
Demian
f61d30b66b telebot: satisfy Editable for Callback and InlineResult, remove InlineID from Message 2021-07-25 16:07:48 +03:00
Demian
fb7de291df telebot: rename ChosenInlineResult to the InlineResult 2021-07-25 15:49:17 +03:00
demget
bd0bb74d13 Merge pull request #408 from DiscoreMe/develop
api: support 5.2
2021-07-25 15:32:08 +03:00
demget
e02f9ceb37 Merge pull request #401 from comerc/v2
Add copyMessage
2021-07-25 15:28:17 +03:00
demget
e7f0e64c71 Merge pull request #407 from DiscoreMe/develop
api: support 5.1
2021-07-25 15:27:59 +03:00
demget
2d17e0e12c Merge pull request #405 from DiscoreMe/develop
api: support 5.0
2021-07-25 15:25:04 +03:00
demget
e03da5dc42 Merge pull request #382 from omar-polo/v2
implement my_chat_member and chat_member
2021-07-25 15:16:32 +03:00
Ian P Badtrousers
8261689cda Merge pull request #377 from omar-polo/v2
implements voice chat service messages
2021-07-25 15:12:19 +03:00
demget
1b57dbc404 Merge pull request #371 from metalmatze/test-offline
Expose offline settings for Bot
2021-07-25 14:57:05 +03:00
demget
f29096837c Merge pull request #364 from rusq/v2
Enable handling callbacks with Unique contaning "-"
2021-07-25 14:56:19 +03:00
Hung-I Wang
6de60f7d68 Fix a typo in the comment of SetGroupDescription 2021-07-25 14:42:50 +03:00
Demian
061d8ab4ba inline: enable ability to use default parse mode 2021-07-07 16:00:51 +03:00
Demian
9c67c31592 bot: make ChatMemberOf accept Recipient interface 2021-06-20 19:00:31 +03:00
Demian
cba1303e69 context: expose native constructor 2020-10-22 16:22:41 +03:00
Demian
541cbd7e1e bot: add callback unique field 2020-10-12 21:01:48 +03:00
Demian
3e14fed6ff middleware: implement logrus logger 2020-10-10 13:42:11 +03:00
Demian
90fad0b031 middleware: fix group handling logic 2020-10-01 17:36:50 +03:00
Demian
a70d2204db bot: fix root group handling 2020-09-15 18:12:43 +03:00
Demian
1076cdcfa6 bot: allow default poller 2020-08-06 22:14:16 +03:00
Demian
b2ce91acc7 bot: add global-scope Use function 2020-08-06 22:13:11 +03:00