Commit Graph

65 Commits (b6575a2934b018fc5109ac4b161cc52f51210436)

Author SHA1 Message Date
Dmitriy Kharchenko 20b57111fc Merge branch 'master' of https://github.com/go-telegram-bot-api/telegram-bot-api into wehook-validation 2020-07-21 12:06:24 +03:00
Syfaro c310f538bd
Merge pull request #256 from rozha/helpers-NewOneTimeReplyKeyboard
Introduce NewOneTimeReplyKeyboard() helper function
2020-07-21 03:36:40 -05:00
Syfaro ce395c2286
Update comment on NewOneTimeReplyKeyboard. 2020-07-21 03:35:48 -05:00
Syfaro aea186240d
Merge pull request #292 from blasphemy/inline-sticker
add ability to respond to inline queries with stickers
2020-07-21 02:42:48 -05:00
Syfaro dd5b918046
Merge pull request #318 from mehanizm/feature-add-sendDice
feat: add sendDice configs
2020-07-21 02:31:59 -05:00
mehanizm f11e1caecf feat: add sendDice configs
Add sendDice config to use in Send method
as a Chattable interface.
Add NewDice and NewDiceWithEmoji helpers
Add tests

https://core.telegram.org/bots/api#senddice
2020-07-21 10:25:30 +03:00
Syfaro 2428a33ac6
Merge pull request #243 from TahaPY/master
Update helpers.go
2020-07-21 02:09:12 -05:00
an.groshev dc71b50b19 add MarkdownV2 2020-07-01 20:03:05 +03:00
Kirill Zhuharev 8a6eeebcb1
Merge pull request #291 from vgxbj/patch-1
Document `NewMessageToChannel` clearer
2020-03-19 07:12:27 +03:00
Daniel Leining 81ccf0a8b2 Merge remote-tracking branch 'upstream/master' into inline-sticker 2020-01-19 16:10:09 -05:00
mkishere 1f98cd2e47 Add inline venue type 2020-01-07 00:28:13 +08:00
Daniel Leining 87891c10fe add ability to respond to inline queries with stickers 2020-01-05 00:35:15 -05:00
Xing GUO d944d68fe6
Document `NewMessageToChannel` clearer 2019-12-31 14:38:21 +08:00
Dmitriy Kharchenko 7629a37f77 Added validation and error checking for incoming updates in ListenForWebhook 2019-12-10 08:05:12 +03:00
rozha b478ff9669
Introduce NewOneTimeReplyKeyboard() helper function 2019-08-11 13:20:40 +03:00
Mohammad Taha 88e1a77b95
Update helpers.go
added a function with name `NewEditMessageTextAndMarkup`
for edit text and replymarkup together
2019-06-19 08:44:38 +04:30
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 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
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