Commit Graph

95 Commits (16635e50ea30023ca1223b6320bafa885fa849d5)

Author SHA1 Message Date
Oleksandr Redko 2cc6dc2458 Remove deprecated ioutil functions 2022-10-19 11:51:27 +03:00
Syfaro 24489300ee Remove deprecated methods, other small fixes. 2021-12-03 21:16:31 -05:00
Syfaro 6aa05225a6 Merge branch 'develop' into files 2021-08-20 16:11:25 -04:00
Syfaro 309d612d70 Merge branch 'master' into develop 2021-08-20 16:08:34 -04:00
Syfaro 1a3364aea8 Fix (and disable broken) tests. 2021-08-20 15:41:04 -04:00
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 53d566ba56
Merge pull request #375 from Eivel/develop
Handle error in NewWebhook and NewWebhookWithCert
2021-03-10 22:00:07 -05:00
Syfaro 05db49c9e3 Merge branch 'develop' into multiple-uploads 2021-03-10 12:33:02 -05:00
Syfaro b163052f82 Handle InputMedia{Document,Audio} in media groups. 2021-02-20 13:49:00 -05:00
Syfaro 4064ced03f Add some tests, fix copyMessage. 2020-11-06 12:36:00 -05:00
Syfaro 24e02f7ba6 Merge branch 'develop' into bot-api-5.0 2020-11-06 00:18:30 -05:00
Syfaro 366879b110 Merge branch 'master' into develop 2020-11-05 23:29:48 -05:00
Syfaro ac5306ce0c Updates for Bot API 5.0. 2020-11-05 16:53:37 -05:00
Syfaro b52a9399c9 Fix Imgur issue. 2020-11-05 13:58:19 -05:00
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
Wojciech Zagórski 69a82708c4 Handle error in NewWebhook and NewWebhookWithCert 2020-09-30 22:19:29 +02:00
Syfaro f2cd95670d Update some forgotten items. 2020-07-26 16:06:22 -05:00
Syfaro a45216f441 Generalize InputMedia, fix editMessageMedia. 2020-07-26 15:51:33 -05:00
Syfaro 99b74b8efa Improve usability of new files for configs. 2020-07-25 21:20:05 -05:00
Syfaro ce4fc988c9 Add support for uploading multiple files. 2020-07-25 19:29:40 -05:00
Syfaro 4acb1cebba
Merge pull request #321 from ErrorBoi/cleanup-bot-test
Cleanup bot test
2020-07-23 14:12:36 -05:00
Syfaro 9d3974d340
Merge pull request #261 from zergon321/add-photo-upload-channel
Uploading a new photo to a channel functionality added.
2020-07-22 05:00:28 -05:00
Jiayu Yi 458a89724a Change assertion failure message
(cherry picked from commit 5c5e96de34)
2020-07-21 14:17:37 -05:00
Jiayu Yi ca09b25f8c Add MaxConnections to WebhookInfo
(cherry picked from commit 69bab9a28f)
2020-07-21 14:17:22 -05:00
gropher ca07bb78e4 Added HandleUpdate method for serverless deploy
(cherry picked from commit d4b2e3c213)
2020-07-21 13:42:55 -05: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
Syfaro ab39746be5
Replace test channel ID. 2020-07-21 02:28:39 -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
Mikhail Slabchenko 53dec076c1 removed redundant t.Fail() from bot_test.go 2020-04-07 02:13:24 +03:00
Syfaro 75e27e1380 Updates for Bot API 4.7. 2020-03-30 15:35:53 -05: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
nightghost aaaa278b56 My own bot is used to test the added functionality. 2019-09-02 18:44:35 +03:00
nightghost 696aebd64c Uploading photo to a channel functionality added. 2019-09-01 22:00:09 +03:00
Syfaro db88019230 Add support for Polls and other API 4.2 updates. 2019-04-14 14:46:45 -05:00
Syfaro fa40708257 Add SendMediaGroup method. 2018-12-25 15:44:01 -06:00
Syfaro 290b9363d4 Fix bot_test.go, update README. 2018-10-09 01:45:18 -05:00
Syfaro a746f39d22 Move tests into tgbotapi package. 2018-10-08 23:34:34 -05:00
Syfaro 23ed97b145 Merge master into develop. 2018-10-08 03:13:50 -05: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 b728fa78fc More various small code quality improvements. 2018-03-26 12:39:07 -05:00
Syfaro 6a6de7e674 Merge master into develop. 2018-03-26 12:22:16 -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
Syfaro 72f87b43e3 Fix backwards compatibility for Live Location. 2017-12-29 13:00:02 -06:00