Commit Graph

50 Commits (26a3c9542175cf8cf2ae304c8ad0548dfe65fae7)

Author SHA1 Message Date
TJ Horner 5e61ed0493
Temporarily fix MediaGroup test (Imgur -> GitHub)
Telegram decided that it's no longer friends with Imgur, so we will need to use the direct GitHub asset links for now. Probably will want to eventually swap this over to uploading the file since we don't want to accidentally DDOS GitHub.
2020-10-19 17:00:31 -04:00
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 7a018ae873
Merge pull request #299 from yi-jiayu/webhook-info-max-connections
Add MaxConnections to WebhookInfo
2020-07-21 03:39:01 -05:00
Jiayu Yi 5c5e96de34 Change assertion failure message 2020-07-21 16:37:08 +08: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
Jiayu Yi 69bab9a28f Add MaxConnections to WebhookInfo 2020-01-13 15:42:35 +08:00
gropher d4b2e3c213 Added HandleUpdate method for serverless deploy 2019-09-18 03:34:37 +03:00
Syfaro b6441c36ee A number of small improvements. 2018-10-08 02:25:09 -05:00
Syfaro 898e79fe47 Add initial support for sendMediaGroup. 2018-09-21 20:20:28 -05:00
Syfaro 309f2dd87f Minor code quality improvements. 2018-03-26 11:54:02 -05:00
scnace 9b7184fa79 check telegram webhook tls handshake 2018-01-08 02:10:50 +08:00
zhuharev 2022d04b94
fix tests, linter errors and fmt 2017-11-09 21:51:50 +03:00
Lord-Protector cd9a9741d0 Create own supergroup with test already created bot and give it admin rights 2017-08-05 13:50:44 +03:00
Lord-Protector 3a60d28d73 Tests for PinChatMessage and UnpinChatMessage methods 2017-08-05 12:37:43 +03:00
Mohamad Jahani bdb0f1f4c5 feat(bot): implement deleteMessage method 2017-06-08 14:02:05 +04:30
Arman ecc60d21b7 Added VideoNote support 2017-05-22 02:34:12 +04:30
Syfaro 3293f3ad84 Change visibility of UpdatesChannel, closes #76 2017-01-26 11:43:37 -06:00
lupoDharkael c034de512a Added Clear() to examples and code simplification 2016-12-16 02:07:54 +01:00
Syfaro 0a57807db7 Additional changes for Telegram API updates. 2016-11-24 23:50:35 -06: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 0a1b57cdf9
Update bot_test.go for support updated NewInlineQueryResultArticle 2016-06-02 22:53:44 +03:00
Syfaro 217764ba45 Add new chat methods for Bot API 2.1. 2016-05-22 10:16:28 -05:00
Syfaro e7b9f16e73 Add missing helpers, move helper tests to own file. 2016-04-14 14:00:45 -05:00
Syfaro c0eb5db6c3 Add more tests. 2016-04-13 17:06:18 -05:00
Syfaro b6130533a3 Add methods for editing messages. 2016-04-12 12:53:19 -05:00
Syfaro 14727677a5 Add example for responding to inline queries. 2016-03-30 09:04:15 -05:00
Syfaro 80e30d7c19 Stop returning useless http.Handler from ListenForWebhook. 2016-03-30 09:04:15 -05:00
Syfaro 2105871843 Update package name 2016-01-03 18:12:03 -06:00
Gleb Sinyavsky d40f7f9703 Package name changed 2015-12-16 16:57:21 +03:00
Gleb Sinyavsky f8cc0d2aaa Bot::QuickSend removed 2015-12-16 11:38:39 +03:00
Gleb Sinyavsky 1a3e995b37 QuickSend method added to bot 2015-12-13 20:38:09 +03:00
Gleb Sinyavsky eb6b784a5a mime_type and file_size added for file messages 2015-12-13 20:00:20 +03:00
Gleb Sinyavsky 667b68e570 Package path changed before merge 2015-11-22 02:40:39 +03:00
Gleb Sinyavsky 5859ba3970 Small updates. Readme updated 2015-11-21 17:31:59 +03:00
Gleb Sinyavsky 2a5cf8652d Updates channel removed from BotAPI 2015-11-21 17:26:28 +03:00
Gleb Sinyavsky f8a3ac11b2 Small tests fix 2015-11-21 15:36:55 +03:00
Gleb Sinyavsky 653939995c Test refactored 2015-11-21 15:34:30 +03:00
Gleb Sinyavsky b8bc7b9939 Test example added 2015-11-21 14:53:00 +03:00
Gleb Sinyavsky c4515aa388 Small fixes 2015-11-21 14:44:26 +03:00
Gleb Sinyavsky 207a1a08f2 Tests added 2015-11-21 14:36:43 +03:00
Gleb Sinyavsky 9644984dae removeWebhook method added. 2015-11-21 14:26:39 +03:00
Gleb Sinyavsky 53dd9f6367 Fixes, tests improved 2015-11-21 14:22:08 +03:00
Gleb Sinyavsky c67df95407 Tests added 2015-11-21 13:17:34 +03:00
Gleb Sinyavsky a192540b8c Many tests added. Small fixes 2015-11-20 20:26:12 +03:00
Gleb Sinyavsky e16094f76a Tests improved 2015-11-20 19:43:56 +03:00
Gleb Sinyavsky d0711736ec Test added, small improvements 2015-11-20 18:30:50 +03:00
Gleb Sinyavsky 13a8bd025c Refactorings 2015-11-20 13:42:26 +03:00
Syfaro 8907d30fe0 remove unneeded line in test 2015-07-29 05:42:45 -04:00
Syfaro c12c67adde basic tests/examples, don't return updates chan, cleaned text 2015-07-29 05:41:41 -04:00