Commit Graph

621 Commits (16635e50ea30023ca1223b6320bafa885fa849d5)

Author SHA1 Message Date
Syfaro 5be25266b5 Initial work on improving docs. 2020-07-26 17:22:16 -05: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 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 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 2f7211a708 Updates for Bot API 4.9. 2020-07-23 17:13:53 -05:00
Syfaro e599156631 Tidy go mod files. 2020-07-23 17:09:15 -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
Syfaro 5598dbcb90 Remove old Go versions from Travis.
(cherry picked from commit dff2120d96)
2020-07-22 04:42:58 -05:00
Syfaro dff2120d96
Remove old Go versions from Travis. 2020-07-22 04:33:50 -05:00
Syfaro 6b0d3ce2a6 Fix some lints. 2020-07-21 14:20:12 -05:00
Jiayu Yi 458a89724a Change assertion failure message
(cherry picked from commit 5c5e96de34)
2020-07-21 14:17:37 -05:00
Jiayu Yi c87d4110af Mark WebhookInfo.MaxConnections as optional
(cherry picked from commit 64517d16e7)
2020-07-21 14:17:29 -05:00
Jiayu Yi ca09b25f8c Add MaxConnections to WebhookInfo
(cherry picked from commit 69bab9a28f)
2020-07-21 14:17:22 -05:00
Daniel Leining 1930c25aa6 add ability to respond to inline queries with stickers
(cherry picked from commit 87891c10fe)
2020-07-21 14:13:37 -05:00
maria.bagdasarova bd27dae566 Fix nil pointer on User String method
(cherry picked from commit 74925cfcaf)
2020-07-21 14:09:48 -05:00
Syfaro 1bdfd4d5e6 Update comment on NewOneTimeReplyKeyboard.
(cherry picked from commit ce395c2286)
2020-07-21 14:06:35 -05:00
rozha 49a467b7c4 Introduce NewOneTimeReplyKeyboard() helper function
(cherry picked from commit b478ff9669)
2020-07-21 14:06:35 -05:00
an.groshev 4f6c0f14db add MarkdownV2
(cherry picked from commit dc71b50b19)
2020-07-21 14:04:03 -05:00
Syfaro 50bcf10f7e Update sendDice helpers. 2020-07-21 14:04:01 -05:00
ros-tel 1059fc759d Delete a message in a channel
(cherry picked from commit 86a3d94b4b)
2020-07-21 13:53:29 -05:00
Syfaro 63cbbdc63c Add missing chat action constants. 2020-07-21 13:46:14 -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 4b372faeeb
Make returned error consistent. 2020-07-21 03:56:23 -05: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 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
Jiayu Yi 64517d16e7 Mark WebhookInfo.MaxConnections as optional 2020-07-21 16:33:33 +08:00
Syfaro fe3a0a8654
Merge pull request #300 from yi-jiayu/upload-file-response-parameters
Include ResponseParameters in UploadFile error
2020-07-21 03:14:03 -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
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
Syfaro 2428a33ac6
Merge pull request #243 from TahaPY/master
Update helpers.go
2020-07-21 02:09:12 -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 2476225ecc
Merge pull request #346 from Kurets/master
Fixes error parameter name for AnswerPreCheckoutQuery
2020-07-21 01:32:48 -05:00
Syfaro 16a589d239
Merge pull request #347 from greenx/master
add MarkdownV2
2020-07-21 01:32:00 -05:00
Syfaro 74b3b6300b
Merge pull request #352 from ros-tel/delete-channel-msg
Delete a message in a channel
2020-07-21 01:31:00 -05:00
Syfaro 8717c40e7c
Merge pull request #270 from Gropher/master
Added HandleUpdate method for serverless deploy. Fixes #260
2020-07-20 13:41:14 -05:00
ros-tel 86a3d94b4b Delete a message in a channel 2020-07-19 10:11:27 +05:00
an.groshev dc71b50b19 add MarkdownV2 2020-07-01 20:03:05 +03:00
Dmytro Kurest e55e8bc55a Fixes error parameter name for AnswerPreCheckoutQuery 2020-06-30 10:42:37 +03:00
Kirill Zhuharev 7434b0456e
Merge pull request #328 from mendelmaleh/captionparsemode
Add ParseMode to InlineQueryResultPhoto
2020-05-24 13:53:06 +03:00
Kirill Zhuharev 38c2cb18ed
Merge pull request #336 from biodranik/improvements
Added omitempty tag for clean JSON marshaling
2020-05-24 13:52:46 +03:00
Kirill Zhuharev 2339ed4639
Merge pull request #338 from pachmu/master
Fix nil pointer on User String method
2020-05-24 13:51:51 +03:00