Commit Graph

355 Commits (6792fab6bb9bbeda26f6ef0573946e15fc4b33af)

Author SHA1 Message Date
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
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
Kirill Zhuharev 1569b35611
Merge pull request #313 from AdelyaGarieva/master
Ability to create BotAPI instance directly with new API endpoint
2020-03-11 09:10:48 +03:00
Adelya b5d42143e7 Ability to create BotAPI instance directly with new API endpoint 2020-03-03 17:00:42 +03:00
Tarcisio Gruppi 706e70933d
Close updates chan on stop 2020-02-22 19:13:34 -03:00
Daniel Leining f44d515f71 add getStickerSet call 2020-02-01 01:46:24 -05:00
Daniel Leining fd860fdd66 add file_unique_id 2020-01-24 00:19:42 -05:00
Syfaro aa124ef1e8
Merge pull request #294 from mkishere/inline-venue
Add inline venue type
2020-01-13 00:30:19 -06:00
Syfaro 194446470b
Merge pull request #297 from chuhlomin/patch-1
Add `is_animated` field to Sticker struct
2020-01-13 00:29:58 -06:00
Konstantin Chukhlomin 613005ba7b
Update types.go
Added IsAnimated to Sticker struct
2020-01-12 23:54:08 -05:00
mkishere 1f98cd2e47 Add inline venue type 2020-01-07 00:28:13 +08:00
Xing GUO d944d68fe6
Document `NewMessageToChannel` clearer 2019-12-31 14:38:21 +08:00
Shao Yang Hong 935e204b04
README: link to godoc 2019-10-25 11:47:24 +08:00
NemoD503 1af25a19c7 add new versions of golang to travis 2019-10-20 23:01:22 +03:00
NemoD503 a6b4ce46a6 return pointer to error 2019-10-20 22:47:21 +03:00
NemoD503 37eb2cb6be Go mod was added 2019-10-08 12:25:37 +03:00
Syfaro b33efeebc7
Merge pull request #248 from merothh/master
README: fix typo
2019-09-03 20:20:38 -05:00
merothh c915cfd8fc README: fix typo 2019-07-05 03:42:37 +05:30
unstppbl 72a0e2d808 closes #246 2019-07-03 17:59:56 -07:00
Kirill Zhuharev cea05bfc44
Merge pull request #238 from go-telegram-bot-api/add-api-endpoint-setter
Allow to change API endpoint for bot
2019-05-24 14:05:49 +03:00
zhuharev 8d345836d6 Allow to change API endpoint for bot 2019-05-24 13:14:48 +03:00
Syfaro 87e7035a90
Merge pull request #227 from bcmk/passing-error-code
Passing error code
2019-04-24 04:32:50 -05:00
Syfaro e305b7a1f5
Merge pull request #223 from Mephistophiles/master
added PinnedMessage in Chat struct
2019-04-24 02:33:26 -05:00
Syfaro 9b191dba1e
Merge pull request #221 from yauhen-l/bugfix-omitempty-size-in-inline-gif-result
Mark optional fields in InlineQueryResultGif as omitempty
2019-04-24 02:32:30 -05:00
Syfaro 2f55ae3a3d
Merge pull request #219 from lzakharov/message-entity-helpers
Add type helpers to message entities.
2019-04-24 02:31:13 -05:00
Syfaro ace7a9cee9
Merge pull request #229 from kak-tus/caption_entities
Add support for caption_entities in Message type.
2019-04-24 02:28:14 -05:00
Andrey Kuzmin ab4ab5e531 Add support for caption_entities in Message type.
caption_entities are using for messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption.
2019-04-09 14:32:23 +03:00
bcmk 016d6acdf3 Passing error code 2019-03-01 20:57:23 +04:00
Maxim Zhukov 0b788c7730 added PinnedMessage in Chat struct
Since BotAPI 3.3:
getChat now also returns pinned messages in supergroups, if present. Added the new field pinned_message to the Chat object.

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2019-02-12 22:00:57 +03:00
Yauhen Lazurkin 97a13fdf0f Complete definition of InlineQueryResultGIF to comply with Bot API 2019-01-24 09:45:45 +01:00
Yauhen Lazurkin 74b2a53293 Mark optional fields in InlineQueryResultGif as omitempty to not send zeros 2019-01-24 09:39:10 +01:00
Lev Zakharov fdf31c7cf4 Add type helpers to message entities. 2019-01-10 15:39:47 +03:00
Syfaro ec221ba9ea
Merge pull request #183 from 733amir/master
Add cached result types.
2018-12-25 15:56:58 -06:00
Kirill Zhuharev 9c399358c9
Merge pull request #211 from bcmk/close-body
Addressing too many open files error
2018-12-14 21:00:14 +03:00
bcmk ab8d5487da Closing update body 2018-12-10 18:08:47 +04:00
Amir Khazaie 97ba9e12bf Fix help tests 2018-10-15 12:41:02 +03:30
Amir Khazaie b2addf5f91 Fix backwards compatibility problem 2018-10-15 12:31:37 +03:30
Amir Khazaie fad189563c Merge branch 'master' of github.com:go-telegram-bot-api/telegram-bot-api 2018-10-15 12:28:43 +03:30
Syfaro 9860bdfd3a Fix capitalization in doc. 2018-10-08 14:45:45 -05:00
Syfaro b60db1d2e1 Revert "Remove a broken check for GetUpdatesChan."
This was not properly tested and results in the bot looping.

This reverts commit 5f38203a15.
2018-10-08 13:58:50 -05:00
Syfaro e2f846d83a Stop using gopkg in README among other minor improvements. 2018-10-08 02:34:41 -05:00
Syfaro 025b92519c Merge branch 'master' of github.com:go-telegram-bot-api/telegram-bot-api 2018-10-08 02:25:15 -05:00