Commit Graph

256 Commits

Author SHA1 Message Date
Nikita
fb8ce2a4b1
api: update to 6.4 (#606)
Co-authored-by: Demian <optigan@protonmail.com>
2023-11-19 21:52:15 +02:00
Demian
48c941a8d9 middleware: move m appending into separate func 2023-11-03 00:12:36 +01:00
Max Kuznetsov
bae47b52d4 Fix handler middleware clobbering when group middleware slice has extra capacity 2023-04-03 23:23:53 +01:00
Demian
d90e8974cc telebot: restructure and refactor 2022-10-06 00:45:27 +03:00
Demian
d9b2c62833 payments: implement createInvoiceLink 2022-10-05 15:04:31 +03:00
Demian
2a6eec366f admin: implement my default administrator rights 2022-10-05 01:30:44 +03:00
Demian
933fcacf4a telebot: rename voice chat to the video chat 2022-10-05 01:03:09 +03:00
Demian
dc27c6cb4c bot: implement menu button 2022-10-05 00:47:43 +03:00
Demian
cee9ad2ddd telebot: refactor web apps 2022-10-05 00:11:00 +03:00
demget
352b5c89f1
Merge pull request #509 from dzen-it/v3-webapp_support
Web App support
2022-10-04 22:35:54 +03:00
Demian
2e4664a387 bot: use timeout for the default http client 2022-10-04 22:24:56 +03:00
Demian
c4f759fb07 middleware: implement Recover, add docs 2022-10-01 12:21:55 +03:00
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
Mikhail Borovikov
2c2e8dcff1 Added AnswerWebApp for using in a Handle method 2022-04-18 00:37:19 +07: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