Syfaro
e03cd7f9c6
Change UserID to int64.
2021-03-09 12:38:15 -05:00
Syfaro
24d4f79474
Updates for Bot API 5.1.
2021-03-09 12:27:17 -05:00
Syfaro
b163052f82
Handle InputMedia{Document,Audio} in media groups.
2021-02-20 13:49:00 -05:00
quenbyako
01e6fd26dd
Added more methods to Updates
2021-02-02 15:38:41 +03:00
quenbyako
2df616ce04
Added SentFrom method to Update type
2021-02-02 14:56:51 +03:00
Syfaro
4064ced03f
Add some tests, fix copyMessage.
2020-11-06 12:36:00 -05:00
Syfaro
24e02f7ba6
Merge branch 'develop' into bot-api-5.0
2020-11-06 00:18:30 -05:00
Syfaro
366879b110
Merge branch 'master' into develop
2020-11-05 23:29:48 -05:00
Syfaro
ac5306ce0c
Updates for Bot API 5.0.
2020-11-05 16:53:37 -05:00
TJ Horner
19e61c78ef
Merge pull request #385 from ilyakaznacheev/api-type-docks-3
...
Add API type docks pack three
2020-10-29 10:35:42 -04:00
TJ Horner
7e9b33f9e8
Merge pull request #384 from ilyakaznacheev/api-type-docks-2
...
Add API type docks pack two
2020-10-29 10:35:04 -04:00
Ilya Kaznacheev
189bf08685
Add shipping and bot command types documentation
2020-10-24 23:34:43 +03:00
Ilya Kaznacheev
1e3171403a
Add payment type documentation
2020-10-24 23:31:18 +03:00
Ilya Kaznacheev
5844ea113e
Add shipping types documentation
2020-10-24 23:27:45 +03:00
Ilya Kaznacheev
6964c7af4e
Add iinvoice type documentation
2020-10-24 23:23:18 +03:00
Ilya Kaznacheev
25c494b335
Add input message content types documentation
2020-10-24 23:21:34 +03:00
Ilya Kaznacheev
536eb5215a
Add chosen inline result type documentation
2020-10-24 23:16:34 +03:00
Ilya Kaznacheev
874f3f2c47
Add inline query result location, venue and game types documentation
2020-10-24 23:13:56 +03:00
Ilya Kaznacheev
ea8eadd3c8
Add inline query result document types documentation
2020-10-24 23:07:01 +03:00
Ilya Kaznacheev
515002232b
Add inline query result voice types documentation
2020-10-24 21:16:28 +03:00
Ilya Kaznacheev
45369759f1
Add inline query result audio types documentation
2020-10-24 21:12:17 +03:00
Ilya Kaznacheev
11023a093f
Add inline query result video types documentation
2020-10-24 21:05:03 +03:00
Ilya Kaznacheev
30975af674
Add inline query result gif and mpeg4gif types documentation
2020-10-24 18:02:39 +03:00
Ilya Kaznacheev
1e4e3c891c
Add inline query result cached photo and gif types documentation
2020-10-24 17:54:45 +03:00
Ilya Kaznacheev
12b37b42cc
Add inline query types documentation
2020-10-24 17:44:17 +03:00
Ilya Kaznacheev
e539815a49
Move optional flag to a new line
2020-10-24 17:18:15 +03:00
Ilya Kaznacheev
97c4ff4396
Add input media types documentation
2020-10-24 17:12:11 +03:00
Ilya Kaznacheev
d885b2a983
Add animation, game score and webhook types documentation
2020-10-24 17:05:16 +03:00
Ilya Kaznacheev
5875a46cde
Add game type documentation
2020-10-24 17:00:46 +03:00
Ilya Kaznacheev
d2ea97fb9b
Add chat member type documentation
2020-10-24 16:58:02 +03:00
Ilya Kaznacheev
f54e99475a
Add callback and reply types documentation
2020-10-24 16:52:22 +03:00
Ilya Kaznacheev
bf143a9e9b
Add keyboard types documentation
2020-10-24 16:47:12 +03:00
Ilya Kaznacheev
2497684181
Add location, venue and user profile photos type documentation
2020-10-24 16:30:45 +03:00
Ilya Kaznacheev
1b845170c1
Add voice and contact type documentation
2020-10-24 16:28:10 +03:00
Ilya Kaznacheev
8e875a5711
Add video and video note type documentation
2020-10-24 16:25:05 +03:00
Ilya Kaznacheev
a005cff757
Add chat animation type documentation
2020-10-24 16:21:42 +03:00
Ilya Kaznacheev
1f1d97f1e3
Add sticker and sticker set type documentation
2020-10-24 15:44:24 +03:00
Ilya Kaznacheev
30c412fbe5
Add update type documentation
2020-10-24 13:50:11 +03:00
Ilya Kaznacheev
26a3c95421
Add some inbound types documentation
2020-10-24 13:43:23 +03:00
Ilya Kaznacheev
b4d9865c2b
Add chat type documentation
2020-10-24 13:36:41 +03:00
Ilya Kaznacheev
e6fdc8e02a
Add user type documentation
2020-10-24 13:34:34 +03:00
Ilya Kaznacheev
152625538f
Add message documentation
2020-10-19 00:09:50 +03:00
bcmk
4a2c8c4547
setMyCommands implemented
2020-09-27 02:08:56 +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
5ebb3edeff
feat: Add CustomTitle field to ChatMember
2020-08-10 17:17:07 -04:00
Syfaro
a45216f441
Generalize InputMedia, fix editMessageMedia.
2020-07-26 15:51:33 -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
6b0d3ce2a6
Fix some lints.
2020-07-21 14:20:12 -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
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
64517d16e7
Mark WebhookInfo.MaxConnections as optional
2020-07-21 16:33:33 +08: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
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
Kirill Zhuharev
7434b0456e
Merge pull request #328 from mendelmaleh/captionparsemode
...
Add ParseMode to InlineQueryResultPhoto
2020-05-24 13:53:06 +03:00
maria.bagdasarova
74925cfcaf
Fix nil pointer on User String method
2020-05-22 11:42:19 +03:00
Alexander Borsuk
5b3f2f3365
Added omitempty tag for clean JSON marshaling
2020-05-11 10:56:02 +02:00
Mendel E
303a66f022
Add ParseMode to InlineQueryResultPhoto
2020-04-26 00:30:21 -04: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
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
047d735655
Merge pull request #305 from AlessandroPomponio/animation-unique-id
...
Add FileUniqueID to ChatAnimation
2020-02-16 19:02:04 +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
Daniel Leining
f44d515f71
add getStickerSet call
2020-02-01 01:46:24 -05:00
TJ Horner
5aaa0b2d03
Bot API 4.6: Polls 2.0, misc. changes
2020-01-24 22:42:19 -05:00
Daniel Leining
fd860fdd66
add file_unique_id
2020-01-24 00:19:42 -05:00
Daniel Leining
81ccf0a8b2
Merge remote-tracking branch 'upstream/master' into inline-sticker
2020-01-19 16:10:09 -05:00
Jiayu Yi
69bab9a28f
Add MaxConnections to WebhookInfo
2020-01-13 15:42:35 +08:00
Syfaro
aa124ef1e8
Merge pull request #294 from mkishere/inline-venue
...
Add inline venue type
2020-01-13 00:30:19 -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
Daniel Leining
87891c10fe
add ability to respond to inline queries with stickers
2020-01-05 00:35:15 -05:00
Syfaro
ffe77fb717
Updates for Bot API 4.3.
2019-05-31 19:18:39 -05: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
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
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
cdcb93df5f
No reason to use pointers to arrays.
2018-10-08 23:32:34 -05:00
Syfaro
4d758f17d4
Add some missing fields, generalize configs, remove unneeded methods.
2018-10-08 23:05:24 -05:00
Syfaro
23ed97b145
Merge master into develop.
2018-10-08 03:13:50 -05:00
Syfaro
9105c34c59
Merge pull request #199 from treeder/master
...
Adds Passport update types
2018-10-08 01:20:17 -05:00
Syfaro
898e79fe47
Add initial support for sendMediaGroup.
2018-09-21 20:20:28 -05:00
Denis Orlikhin
0343f9ec27
Animation type support added
2018-09-06 15:46:02 +03:00
Travis Reeder
2326345451
Passport Updates ( #1 )
2018-09-04 10:52:52 -07:00
Amir Khazaie
31f4975464
Add cached types for inline query answer
2018-07-04 15:18:19 +04:30
Syfaro
212b154115
Merge pull request #169 from empetrone/add-sticker-pack-name
...
Parse sticker pack name
2018-04-28 13:50:02 -05:00
Emanuele Rocco Petrone
25ef323a6b
Parse sticker pack name
2018-04-28 00:31:17 +02:00