Commit Graph

57 Commits (b40fac92022dc6887be0dfb7145c86a5b8a3f258)

Author SHA1 Message Date
zhuharev b40fac9202 Resolve develop and master conflicts 2020-02-15 16:08:58 +03:00
TJ Horner 5aaa0b2d03 Bot API 4.6: Polls 2.0, misc. changes 2020-01-24 22:42:19 -05:00
mkishere 1f98cd2e47 Add inline venue type 2020-01-07 00:28:13 +08:00
Syfaro db88019230 Add support for Polls and other API 4.2 updates. 2019-04-14 14:46:45 -05:00
Amir Khazaie b2addf5f91 Fix backwards compatibility problem 2018-10-15 12:31:37 +03:30
Amir Khazaie fad189563c Merge branch 'master' of github.com:go-telegram-bot-api/telegram-bot-api 2018-10-15 12:28:43 +03:30
Syfaro cdcb93df5f No reason to use pointers to arrays. 2018-10-08 23:32:34 -05:00
Syfaro 4d758f17d4 Add some missing fields, generalize configs, remove unneeded methods. 2018-10-08 23:05:24 -05:00
Syfaro 23ed97b145 Merge master into develop. 2018-10-08 03:13:50 -05:00
Syfaro 898e79fe47 Add initial support for sendMediaGroup. 2018-09-21 20:20:28 -05:00
Denis Orlikhin 0343f9ec27 Animation type support added 2018-09-06 15:46:02 +03:00
Amir Khazaie d066ae74e6 merge main repo changes 2018-09-01 10:49:31 +04:30
Yan Mihailov a1b3e41878 added custom logger and SetLogger func 2018-08-07 00:15:37 +03:00
Amir Khazaie 4edcb0fa1a Correct formatting of code with `go fmt` 2018-07-04 15:19:37 +04:30
Amir Khazaie 31f4975464 Add cached types for inline query answer 2018-07-04 15:18:19 +04:30
Amir Khazaie f90493fac6 Add ParseMode to EditMessageCaption 2018-06-30 11:01:59 +04:30
Syfaro eafee51d2a
Merge pull request #166 from VOID001/del-patch
Add helper function NewDeleteMessage
2018-04-28 13:49:37 -05:00
Jianqiu Zhang 32775370ac
Add NewDeleteMessage
Signed-off-by: Jianqiu Zhang <zhangjianqiu13@gmail.com>
2018-04-22 18:40:58 +08:00
Syfaro 1aef8c8c45 Remove new methods that returned APIResponse. 2018-03-26 12:30:16 -05:00
Oleksandr Savchuk 57be988011 add setChatPhoto method 2018-03-05 17:05:32 +02:00
Lim Ming Wei 3b0c031730 minor typo in helpers.go 2018-01-09 11:51:17 +08:00
MrYadro 41814af2a0
Fixes and comments 2017-06-03 13:59:40 +07:00
MrYadro 42d132b90a
Payments API 2017-06-03 03:18:42 +07:00
Arman ecc60d21b7 Added VideoNote support 2017-05-22 02:34:12 +04:30
Syfaro f57724f783 Remove NewWebhookWithCertAndMaxConnections
This function is long and it is easy enough to just set the maximum
number of connections by modifying the returned struct.
2017-01-27 11:38:15 -06:00
Dmitry V 833e457376 Added max connections configuration option to SetWebHook 2017-01-17 17:18:26 +03:00
Syfaro 0a57807db7 Additional changes for Telegram API updates. 2016-11-24 23:50:35 -06:00
Syfaro 4f996f7f27 Add NewInlineQueryResultPhotoWithThumb for #54. 2016-07-26 13:44:48 -05:00
Syfaro 13f31854a2 Clean up some formatting. 2016-06-02 15:57:39 -05:00
Maxim Martyanov 862c67342c
Rollback for backward compatibility, added NewInlineQueryResultArticleMarkdown and NewInlineQueryResultArticleHTML 2016-06-02 23:41:55 +03:00
Maxim Martyanov 64f1ab7a89
Add support for Markdown/HTML in NewInlineQueryResultArticle 2016-06-02 22:42:05 +03:00
Syfaro 7bf755956c Add NewMessageToChannel for #45. 2016-04-22 10:03:00 -05:00
Jqs7 b98d5c9b34 simplify append loop 2016-04-21 15:40:12 +08:00
boston 890c908551 fix EditMessageReplyMarkupConfig 2016-04-19 12:19:36 +05:00
Syfaro a2483eb98b Add helpers for callback queries. 2016-04-14 16:30:41 -05:00
Syfaro 0d1bc8c4e2 Add helpers for regular and inline keyboards. 2016-04-14 15:59:28 -05:00
Syfaro e7b9f16e73 Add missing helpers, move helper tests to own file. 2016-04-14 14:00:45 -05:00
Syfaro ee1d537565 Add more helpers, update README for v4 release. 2016-04-13 09:01:46 -05:00
Syfaro 1ceb22b273 Add helpers, change some items to pointers, add more inline results. 2016-04-13 08:22:58 -05:00
Syfaro db12d94016 Add kick and unban methods, update some inline query result responses. 2016-04-12 08:56:05 -05:00
Syfaro b971c58157 Update for larger Chat IDs. 2016-03-30 09:04:15 -05:00
Syfaro 645b5629ab Add helpers for creating inline query results. 2016-03-30 09:04:15 -05:00
Syfaro a7f8b9c291 Mention animated GIFs must be sent as document in NewPhotoUpload. 2016-01-08 09:16:47 -06:00
Syfaro e8dfdeeeb9 Major documentation and code cleanup.
All documention is now less than 80 characters wide. Old methods now
show deprecated warnings. The Values/Params/Method functions are now
private. Types and configs have required and optional comments on
them. Simplified some function logic.
2016-01-03 16:54:24 -06:00
Gleb Sinyavsky 9644984dae removeWebhook method added. 2015-11-21 14:26:39 +03:00
Gleb Sinyavsky d0711736ec Test added, small improvements 2015-11-20 18:30:50 +03:00
Gleb Sinyavsky d3f7ac7197 Refactorings 2015-11-20 17:31:01 +03:00
Gleb Sinyavsky 9361631c6d Refactoring 2015-11-20 17:08:53 +03:00
Gleb Sinyavsky 54b9c7e14b Refactoring 2015-11-20 15:15:34 +03:00
Gleb Sinyavsky 13a8bd025c Refactorings 2015-11-20 13:42:26 +03:00