nightghost
696aebd64c
Uploading photo to a channel functionality added.
2019-09-01 22:00:09 +03:00
rozha
b478ff9669
Introduce NewOneTimeReplyKeyboard() helper function
2019-08-11 13:20:40 +03: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
Mohammad Taha
88e1a77b95
Update helpers.go
...
added a function with name `NewEditMessageTextAndMarkup`
for edit text and replymarkup together
2019-06-19 08:44:38 +04: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
Denis Orlikhin
5d997a78c8
fix uploads by URL and fileId for UploadStickerConfig too, should be the same as in createNewStickerSet
2018-12-06 14:32:25 +03:00
Denis Orlikhin
a0a678302e
fix uploads by URL and fileId, should be the same as in createNewStickerSet
2018-11-28 19:06:56 +03: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
5781187bc2
Add go mod files.
2018-10-09 02:08:29 -05:00
Syfaro
290b9363d4
Fix bot_test.go, update README.
2018-10-09 01:45:18 -05:00
Syfaro
afda722fc3
Remove unused error returned by GetUpdatesChan.
2018-10-09 00:47:19 -05:00
Syfaro
a746f39d22
Move tests into tgbotapi package.
2018-10-08 23:34:34 -05:00
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
1f859674f7
Consistency of variable names.
2018-10-08 18:37:18 -05:00
Syfaro
655c3a4137
Remove outdated and old comments.
2018-10-08 18:26:50 -05:00
Syfaro
03815bf5bd
Unify params and values, introduce helpers to deal with fields.
2018-10-08 18:21:29 -05:00
Syfaro
9860bdfd3a
Fix capitalization in doc.
2018-10-08 14:45:45 -05:00
Syfaro
9d2d117c0e
Merge branch 'master' into develop
2018-10-08 14:00:38 -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
23ed97b145
Merge master into develop.
2018-10-08 03:13: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
Syfaro
b6441c36ee
A number of small improvements.
2018-10-08 02:25:09 -05:00
Syfaro
444e8e261f
Merge pull request #154 from Arman92/patch-1
...
added StopReceivingUpdates to stop updates routine
2018-10-08 02:08:42 -05:00
Syfaro
5f38203a15
Remove a broken check for GetUpdatesChan.
2018-10-08 01:58:33 -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