Commit Graph

581 Commits (3f07c5f67644dfc8a9c37210de2b95cfdb060515)

Author SHA1 Message Date
Wojciech Zagórski 69a82708c4 Handle error in NewWebhook and NewWebhookWithCert 2020-09-30 22:19:29 +02:00
bcmk e7590a0638 getMyCommands implemented 2020-09-27 02:10:43 +04:00
bcmk 4a2c8c4547 setMyCommands implemented 2020-09-27 02:08:56 +04:00
Syfaro b263943220
Merge pull request #365 from vdimir/add-missing-message-fields
Add missing message fields
2020-08-20 14:13:25 -04:00
vdimir dadb760cde
Add missing message fields
media_group_id
author_signature
via_bot
2020-08-20 20:59:20 +03:00
TJ Horner 15c95b8a84
Merge pull request #364 from go-telegram-bot-api/chatmember-custom-title
Add CustomTitle field to ChatMember
2020-08-11 14:23:51 -04:00
TJ Horner 5ebb3edeff feat: Add CustomTitle field to ChatMember 2020-08-10 17:17:07 -04:00
TJ Horner fb8759e91d
Merge pull request #282 from dmitriy-kharchenko/master
Added validation and error checking for incoming updates in ListenFor…
2020-07-29 11:42:08 -04:00
Dmitriy Kharchenko b6575a2934
Added stream processing of input JSON
Co-authored-by: TJ Horner <me@tjhorner.com>
2020-07-29 09:51:11 +03:00
Syfaro 67c5217394 Attempt to use GitHub Actions. 2020-07-26 23:07:24 -05:00
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