Commit Graph

731 Commits

Author SHA1 Message Date
demget
fa41701896
Merge pull request #294 from aofei/v2
errors: fix regular expression
2020-05-18 21:47:50 +03:00
Aofei Sheng
0179138315 tests: implement extractOk() function test 2020-05-18 20:51:42 +08:00
Aofei Sheng
bd0dd26192 errors: fix regular expression
Telegram Bot API now returns an extra field for error responses, such
as: {"ok":false,"error_code":429,"description":"Too Many Requests: retry
after 8","parameters":{"retry_after":8}}
2020-05-18 18:41:41 +08:00
Nikita Bikmaev
76c2cedf6f payments: update API 2020-05-13 22:41:25 +03:00
dande
ef00a90aef options: go fmt 2020-05-13 19:55:06 +03:00
dande
ef05beb4e7 keyboards: fixed url and query constructors 2020-05-13 18:29:49 +03:00
dande
49a392391a keyboards: added constructors 2020-05-13 18:21:07 +03:00
Ian Patrick Badtrousers
d7c155f97e keyboards: simple constructors added 2020-05-13 03:33:12 +02:00
Klimov Sergey
d4df031910
small fix docs
fix sample declaration descriptor for incoming inline queries
2020-05-11 01:55:56 +03:00
Demian
eb74dcb35a bot: move stickers functions to stickers.go 2020-05-06 23:23:06 +03:00
Nikita Bikmaev
ef4247381a stickers: implement setStickerSetThumb method 2020-05-06 23:20:38 +03:00
Nikita Bikmaev
5af4f9c52c stickers: update functions according to the library's standards 2020-05-06 23:20:38 +03:00
Nikita Bikmaev
5f4e2adc84 stickers: update sticker structure 2020-05-06 23:20:38 +03:00
Demian
01eee9ff75 .travis: fix after_success command 2020-05-06 20:45:12 +03:00
Demian
772f07c0fb tests: add Notify and Delete calls 2020-05-06 20:31:30 +03:00
Demian
7324790593 bot: some clean-ups and refactoring
1. empty map initialization replaced with make keyword;
 2. removed redundant extractOk() calls, after b.Raw.
2020-05-06 20:20:01 +03:00
Demian
1533291206 games: complete Games API 2020-05-05 23:40:48 +03:00
Demian
9c08de946d webhook: fix GetWebhook result name 2020-05-05 23:10:39 +03:00
Demian
183d6484d9 chat: create ChatID Recipient type 2020-05-05 22:24:40 +03:00
Demian
1157f8b301 webhook: implement getWebhookInfo method 2020-05-05 20:41:30 +03:00
Demian
487fbc0317 test: make middleware poller test offline 2020-05-05 16:31:38 +03:00
demget
319196b847
Merge pull request #280 from guest6379/pr_onanimation
Add OnAnimation endpoint
2020-05-03 19:32:02 +03:00
Demian
414748417b tests: update b.ProcessUpdate() test 2020-05-02 16:44:19 +03:00
Demian
f9f9b69ccf Merge branch 'poller-fix' into develop 2020-05-02 16:38:43 +03:00
Ian P Badtrousers
a66d393547
Merge pull request #279 from orivej/lambda
bot: introducing public ProcessUpdate and Synchronous mode for AWS Lambda support
2020-05-02 15:14:50 +02:00
Demian
8cc942abf1 tests: implement poller tests 2020-05-01 22:40:41 +03:00
Demian
0ae9a122e5 test: replace timers with chan communication 2020-05-01 22:40:24 +03:00
Demian
31048be20c bot: close stop channels only by their owners 2020-05-01 22:23:46 +03:00
Orivej Desh
9b17d93350 examples: add awslambdaechobot 2020-05-01 18:38:54 +00:00
Orivej Desh
953bcdf552 bot: remove closures around runHandler 2020-05-01 18:38:54 +00:00
Orivej Desh
95769df144 tests: add offline mode 2020-05-01 18:38:54 +00:00
me@linux
1b307ee259 Add OnAnimation endpoint 2020-04-29 21:02:52 +08:00
Orivej Desh
04cda01949 tests: use ProcessUpdate 2020-04-28 15:35:44 +00:00
Orivej Desh
f95090faf1 bot: expose ProcessUpdate and add Synchronous handlers mode
Bot.ProcessUpdate in synchronous mode can be used as an AWS Lambda function.
2020-04-28 15:35:44 +00:00
demget
860ac059a8
Merge pull request #276 from orivej/ErrNotStarted
errors: add ErrNotStartedByUser
2020-04-28 13:28:24 +03:00
Orivej Desh
e1f3fbce0c errors: add ErrNotStartedByUser 2020-04-27 21:29:56 +00:00
Demian
288a550d27 readme: update codecov badge 2020-04-27 22:35:16 +03:00
Demian
b44f36425c errors: remove extra space 2020-04-27 21:13:09 +03:00
Demian
59629fe048
release v2.1 2020-04-26 21:49:46 +03:00
Demian
31407f29bf update readme 2020-04-26 21:48:20 +03:00
Demian
c14c51a668 bot: fix long poller stopping logic 2020-04-26 21:29:25 +03:00
Demian
0910baadba bot: update poller fields 2020-04-26 20:43:17 +03:00
demget
f89fed9b66
Merge pull request #272 from godande/develop
Add file_unique_id field
2020-04-26 19:55:26 +03:00
dande
4cd0f77636 file: add file_unique_id field 2020-04-26 19:50:48 +03:00
Demian
b9c6649091 docs: add missing Dice documentation 2020-04-26 19:33:13 +03:00
Demian
525f94ff6a message: update message types 2020-04-26 18:48:16 +03:00
Demian
f67698c1a0 chat: add is_member field to Chat 2020-04-26 18:41:52 +03:00
Demian
5c1986f5b5 telebot: a lot of refactor and clean-ups 2020-04-26 18:19:49 +03:00
Demian
e786ae7401 bot: implement stopPoll method 2020-04-26 17:05:21 +03:00
Demian
7f508a477c travis: disable codecov for pull requests 2020-04-26 16:10:07 +03:00