Commit Graph

403 Commits (85ecb116757bcc6b4ec985e495d206c5e4443063)

Author SHA1 Message Date
Erik Pellizzon 85ecb11675
Added EscapeText function 2020-10-26 17:41:02 +01: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
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 dff2120d96
Remove old Go versions from Travis. 2020-07-22 04:33:50 -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
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 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 2339ed4639
Merge pull request #338 from pachmu/master
Fix nil pointer on User String method
2020-05-24 13:51:51 +03:00
Kirill Zhuharev e680fa5288
Merge pull request #339 from soluchok/http_client_interface
feat: Replaces *http.Client with an interface
2020-05-24 13:51:26 +03:00
Andrii Soluk 6792fab6bb
feat: Replaces *http.Client with an interface
Signed-off-by: Andrii Soluk <isoluchok@gmail.com>
2020-05-24 12:54:43 +03:00
maria.bagdasarova 74925cfcaf Fix nil pointer on User String method 2020-05-22 11:42:19 +03:00
Mendel E 303a66f022 Add ParseMode to InlineQueryResultPhoto 2020-04-26 00:30:21 -04:00
Kirill Zhuharev 5e339ed016
Merge pull request #301 from blasphemy/sticker-unique-id
add file_unique_id to Sticker struct
2020-03-19 07:26:09 +03:00
Kirill Zhuharev b401ef076d
Merge pull request #310 from txgruppi/close-updates-chan-on-stop
Close updates chan on stop
2020-03-19 07:23:49 +03:00
Kirill Zhuharev afa296aeac
Merge pull request #275 from NemoD503/error_pointer
Return pointer to error.
2020-03-19 07:22:28 +03:00
Kirill Zhuharev e4edb03d74
Merge pull request #279 from hongshaoyang/patch-1
README: link to godoc
2020-03-19 07:21:57 +03:00
Kirill Zhuharev cf3ea3f80d
Merge pull request #304 from blasphemy/getstickerset2
add getStickerSet call
2020-03-19 07:14:48 +03:00
Kirill Zhuharev d1fd9b736c
Merge pull request #276 from NemoD503/go-versions
add new versions of golang to travis
2020-03-19 07:14:11 +03:00
Kirill Zhuharev 2d75cf8a3f
Merge pull request #247 from unstppbl/pr/deleteWebhook
closes #246
2020-03-19 07:13:15 +03:00
Kirill Zhuharev 8a6eeebcb1
Merge pull request #291 from vgxbj/patch-1
Document `NewMessageToChannel` clearer
2020-03-19 07:12:27 +03:00
Kirill Zhuharev 9fd8c1e76c
Merge pull request #274 from NemoD503/go_mod
Go mod was added
2020-03-19 07:09:43 +03:00