Commit Graph

114 Commits (1a3364aea80373adbdfde143541ebe265cc57b93)

Author SHA1 Message Date
Syfaro 816532053b Create interface for file data. 2021-08-20 15:31:52 -04:00
Syfaro 1198abda6d Avoid breaking change with GetMyCommands. 2021-08-20 01:27:42 -04:00
Syfaro 66dc9e8246 Updates for Bot API 5.3. 2021-06-27 15:15:09 -04:00
Syfaro 05db49c9e3 Merge branch 'develop' into multiple-uploads 2021-03-10 12:33:02 -05:00
TJ Horner 3b5c8a96d7 Add allowed_updates to GetUpdates 2021-03-09 15:52:22 -05:00
Syfaro 4064ced03f Add some tests, fix copyMessage. 2020-11-06 12:36:00 -05:00
Syfaro 366879b110 Merge branch 'master' into develop 2020-11-05 23:29:48 -05:00
Syfaro f2cd95670d Update some forgotten items. 2020-07-26 16:06:22 -05:00
Syfaro 8d14bd7a56 Make MediaGroupConfig Chattable and Fileable. 2020-07-26 14:40:12 -05:00
Syfaro c6bf64c67d Replace panic with CloseWithError. 2020-07-25 23:36:31 -05:00
Syfaro ce4fc988c9 Add support for uploading multiple files. 2020-07-25 19:29:40 -05:00
gropher ca07bb78e4 Added HandleUpdate method for serverless deploy
(cherry picked from commit d4b2e3c213)
2020-07-21 13:42:55 -05:00
Syfaro da98517cd2
Merge pull request #210 from overplumbum/develop
fix add sticker to stickerset uploads by url and fileId
2020-07-21 01:48:35 -05:00
Syfaro 75e27e1380 Updates for Bot API 4.7. 2020-03-30 15:35:53 -05:00
CNA-Bld 4a76ae1bfb Create helper function WriteToHTTPResponse 2020-03-02 22:28:02 +08:00
zhuharev b40fac9202 Resolve develop and master conflicts 2020-02-15 16:08:58 +03:00
zhuharev 8d345836d6 Allow to change API endpoint for bot 2019-05-24 13:14:48 +03:00
Syfaro db88019230 Add support for Polls and other API 4.2 updates. 2019-04-14 14:46:45 -05:00
bcmk 016d6acdf3 Passing error code 2019-03-01 20:57:23 +04:00
Syfaro fa40708257 Add SendMediaGroup method. 2018-12-25 15:44:01 -06:00
bcmk ab8d5487da Closing update body 2018-12-10 18:08:47 +04:00
Denis Orlikhin cb3a14a3b5 fix error handling for uploadFile calls 2018-12-08 21:22:24 +03:00
Syfaro afda722fc3 Remove unused error returned by GetUpdatesChan. 2018-10-09 00:47:19 -05:00
Syfaro 4d758f17d4 Add some missing fields, generalize configs, remove unneeded methods. 2018-10-08 23:05:24 -05:00
Syfaro 1f859674f7 Consistency of variable names. 2018-10-08 18:37:18 -05:00
Syfaro 03815bf5bd Unify params and values, introduce helpers to deal with fields. 2018-10-08 18:21:29 -05:00
Syfaro 9d2d117c0e Merge branch 'master' into develop 2018-10-08 14:00:38 -05:00
Syfaro b60db1d2e1 Revert "Remove a broken check for GetUpdatesChan."
This was not properly tested and results in the bot looping.

This reverts commit 5f38203a15.
2018-10-08 13:58:50 -05:00
Syfaro 23ed97b145 Merge master into develop. 2018-10-08 03:13:50 -05:00
Syfaro 444e8e261f
Merge pull request #154 from Arman92/patch-1
added StopReceivingUpdates to stop updates routine
2018-10-08 02:08:42 -05:00
Syfaro 5f38203a15 Remove a broken check for GetUpdatesChan. 2018-10-08 01:58:33 -05:00
Yan Mihailov a1b3e41878 added custom logger and SetLogger func 2018-08-07 00:15:37 +03:00
Kirill Zhuharev 0e0af0c480 fix #159 2018-03-28 16:10:29 +03:00
Syfaro 1aef8c8c45 Remove new methods that returned APIResponse. 2018-03-26 12:30:16 -05:00
Syfaro 6a6de7e674 Merge master into develop. 2018-03-26 12:22:16 -05:00
Syfaro 38681a48d1
Merge pull request #153 from behrang/master
Add response parameters to error messages
2018-03-26 11:19:46 -05:00
Arman 6205cea402
added StopReceivingUpdates to stop updates routine
There was no way to stop the bot from fetching updates, Added StopReceivingUpdates() so we can stop updates when we are done with bot.
2018-03-10 01:52:21 +03:30
Oleksandr Savchuk a36af7a672 add deleteChatPhoto method 2018-03-05 17:12:56 +02:00
Oleksandr Savchuk 57be988011 add setChatPhoto method 2018-03-05 17:05:32 +02:00
Behrang Noruzi Niya 04f51c3251 Add response parameters to error messages 2018-03-04 14:40:17 +03:30
Oleksandr Savchuk 6e69f99d11 add setChatTitle and setChatDescription methods 2018-03-03 20:20:03 +02:00
Syfaro 9653a4aad4 Handle some ignored errors. 2017-12-29 21:55:58 -06:00
Syfaro 0a654beca4 Move debug output into a single location. 2017-12-29 01:38:45 -06:00
Syfaro 8b7b15afc2 Update README.md. 2017-12-29 01:26:54 -06:00
Syfaro ac87082c55 Remove remaining methods that returned an APIResponse. 2017-12-29 01:08:01 -06:00
Syfaro 271adc4d97 Bot API 3.2, introduce Request to replace APIResponse methods. 2017-12-29 00:44:47 -06:00
zhuharev 2022d04b94
fix tests, linter errors and fmt 2017-11-09 21:51:50 +03:00
Zaur Abdulgalimov bd1aa7e6ef User:IsBot & RestrictChatMember:UntilDate 2017-11-09 18:41:22 +03:00
zhuharev e6191af679
add doc message 2017-11-07 05:17:06 +03:00
zhuharev 6b5102fab5
fix debug printing 2017-10-31 02:34:34 +03:00