Commit Graph

774 Commits

Author SHA1 Message Date
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
f3bc8545a4 Make Bot.debug to be aware of Bot.verbose flag to be less spammy
especially with sensible error messages during polling failures which
contains bot's token.
2022-06-24 18:37:25 +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
落心
b0ccf622b9
is_premium 2022-06-22 10:27:03 +08:00
Qusic
6134fc231b send video as document 2022-06-10 19:28:45 +08:00
demget
4609e62629
Merge pull request #528 from Xarakiri/v3-fix-typo
fix: typo
2022-06-01 02:04:04 +03:00
Xarakiri
968ccec6a7
fix: typo 2022-05-30 12:51:42 +05:00
star-39
173d940a7a Treat Sticker as Media 2022-05-09 07:42:21 +00:00
Mikhail Borovikov
8342f1a0fd Added test for a WebAppData field 2022-04-18 00:48:45 +07:00
Mikhail Borovikov
2c2e8dcff1 Added AnswerWebApp for using in a Handle method 2022-04-18 00:37:19 +07:00
Mikhail Borovikov
c4abfac25d Added web_app_data for a message 2022-04-17 23:43:27 +07:00
Mikhail Borovikov
e22b5f4f64 Added web_app fields for the buttons 2022-04-17 22:54:30 +07:00
demget
4b2f8743d1
Merge pull request #498 from hararudoka/patch-1
fix a typo in layout.go
2022-03-15 22:24:19 +02:00
hararudoka
a4d61d0eb4 fix a typo in layout.go 2022-03-15 19:51:23 +03:00
Ian P Badtrousers
dd790ca6c1 README: getting rid of past import path artifacts 2022-02-10 14:10:28 +01:00
demget
3ae6ec85d5
readme: fix Group example 2022-02-08 12:58:03 +02:00
Demian
8ad1e044ee telebot: naming, docs 2022-02-08 01:43:15 +02:00
Demian
6c51ff7743 docs: fix Split examples 2022-02-08 01:37:56 +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
demget
713699838a
readme: add github actions badge 2022-02-06 14:40:19 +02:00
Demian
8adfab48e8 tests/layout: assert slices ignoring the order 2022-02-05 21:47:40 +02:00
demget
67d873faff
Merge pull request #486 from setval/support-5.7
api: support 5.7
2022-02-05 21:44:12 +02:00
demget
9849ae0f18
Merge pull request #485 from setval/support-5.6
api: support 5.6
2022-02-05 21:42:10 +02:00
Nikita
496146d307 options: add protect 2022-02-05 22:40:52 +03:00
demget
0fd6dea838
Merge pull request #484 from setval/support-5.5
api: support 5.5
2022-02-05 21:26:19 +02:00
Nikita
40504d2449 stickers: support video 2022-02-05 19:10:30 +03:00
Nikita
c277d8daf0 content: add protect params 2022-02-05 18:53:22 +03:00
Nikita
54d6d11678 errors: add forward message 2022-02-05 18:23:18 +03:00
Nikita
775ea71cb3 updates: add forward fields 2022-02-05 17:59:09 +03:00
Nikita
5f1a4b690e admin: add ban and unban for sender chat 2022-02-05 17:47:39 +03:00
swithek
96c9c520b3 bot: block until poller exits 2022-02-05 13:09:37 +00:00
demget
15ad8bd27f
Merge pull request #483 from setval/origin/v3
actions: add
2022-02-05 13:48:08 +02:00
demget
2aedc24dce
Merge pull request #452 from zry98/v3
Implement missing parameters of commands-related methods
2022-02-05 13:40:14 +02:00
Nikita
ddfa10867f actions: add secrets 2022-02-05 13:27:55 +03:00
Nikita
1a8aca7433 actions: add 2022-02-05 13:20:50 +03:00
Demian
1cfc31f074 options: add AllowWithoutReply 2022-02-04 20:55:50 +02:00
Demian
6a0ece4b8f telebot: move disable_content_type_detection from options to document 2022-02-04 20:51:15 +02: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
f0291132d3 errors: complete the list 2022-01-30 13:58:53 +02:00
Demian
9805b1f622 errors: refactor 2022-01-30 13:22:58 +02:00
Demian
10b70148f7 message: move Media function from context 2022-01-23 00:26:05 +02:00
Demian
61dabe90ab remove .travis.yml 2022-01-23 00:17:17 +02:00
Demian
d7fb7a28b1 revert "poller: remove deprecated MiddlewarePoller"
This reverts commit 561f218adb.
2022-01-23 00:16:58 +02:00
Demian
be2933a4fa all: use errors from the standard library 2022-01-22 19:42:45 +02:00
Demian
f2a7d458a0 context: check for Message properly 2022-01-22 18:32:04 +02:00
Demian
c46e31dff6 options: remove InlineKeyboardMarkup type 2022-01-21 23:02:19 +02:00
Demian
1004fb5df1 context: implement DeleteAfter helper function 2022-01-21 14:58:02 +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