Commit Graph

395 Commits (bd27dae5668234e3d6bc89e5256808efadd70dd4)

Author SHA1 Message Date
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
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
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
Alexander Borsuk 5b3f2f3365 Added omitempty tag for clean JSON marshaling 2020-05-11 10:56:02 +02:00
Syfaro 774f1e72e7 Updates for Bot API 4.8. 2020-04-24 13:18:26 -05:00
Syfaro 75e27e1380 Updates for Bot API 4.7. 2020-03-30 15:35:53 -05:00
Kirill Zhuharev 6ce4ec747d
Merge pull request #312 from CNA-Bld/write-to-http-response
Create helper function WriteToHTTPResponse
2020-03-19 07:10:24 +03:00
CNA-Bld 4a76ae1bfb Create helper function WriteToHTTPResponse 2020-03-02 22:28:02 +08:00
Kirill Zhuharev 047d735655
Merge pull request #305 from AlessandroPomponio/animation-unique-id
Add FileUniqueID to ChatAnimation
2020-02-16 19:02:04 +03:00
Kirill Zhuharev b16df76f2e
Merge pull request #307 from go-telegram-bot-api/resolve-develop-conflicts
Resolve develop conflicts
2020-02-15 17:17:37 +03:00
zhuharev 6fcca60571 Fix old package import 2020-02-15 16:19:31 +03:00
zhuharev b40fac9202 Resolve develop and master conflicts 2020-02-15 16:08:58 +03:00
Alessandro Pomponio e18071bed1 Add FileUniqueID to ChatAnimation (ref. https://core.telegram.org/bots/api#animation) 2020-02-08 09:02:23 +01:00
Syfaro 3635031d74
Merge pull request #302 from tjhorner/polls
Bot API 4.6: Polls 2.0, misc. changes
2020-01-26 22:32:56 -06:00
TJ Horner ddf0d3631b Use Params#AddBool for is_closed 2020-01-24 22:44:44 -05:00
TJ Horner 5aaa0b2d03 Bot API 4.6: Polls 2.0, misc. changes 2020-01-24 22:42:19 -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
Syfaro 5ce2767dad Updates for Bot API 4.4 and 4.5. 2020-01-06 01:44:13 -06: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
Syfaro ffe77fb717 Updates for Bot API 4.3. 2019-05-31 19:18:39 -05: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
Syfaro db88019230 Add support for Polls and other API 4.2 updates. 2019-04-14 14:46:45 -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
Syfaro fa40708257 Add SendMediaGroup method. 2018-12-25 15:44:01 -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
Denis Orlikhin cb3a14a3b5 fix error handling for uploadFile calls 2018-12-08 21:22:24 +03:00