Commit Graph

588 Commits (f399a2424c75d40656bf0fec72aa831ae8edcb04)

Author SHA1 Message Date
Ilya Kaznacheev e6fdc8e02a
Add user type documentation 2020-10-24 13:34:34 +03:00
zhuharev b6df6c273a Add params from develop branch, config for poll 2020-10-20 06:52:08 +03:00
TJ Horner bcbe534b01
Merge pull request #381 from go-telegram-bot-api/fix-media-group-test
Temporarily fix MediaGroup test (Imgur -> GitHub)
2020-10-19 22:59:47 -04: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
TJ Horner 0a3a1c8716
Merge pull request #379 from ilyakaznacheev/add-message-docs
Add message documentation
2020-10-19 16:56:49 -04:00
Ilya Kaznacheev 152625538f
Add message documentation 2020-10-19 00:09:50 +03:00
TJ Horner 05e04b526c
Merge pull request #374 from bcmk/upstream-my-commands
getMyCommands / setMyCommands implemented
2020-10-02 21:17:27 -07:00
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