Releases: go-telegram-bot-api/telegram-bot-api
v5.5.1
v5.5.0
v5.4.0
See the site for information about upgrading from v4
What's Changed
- Bot API 4.6: Polls 2.0, misc. changes by @tjhorner in #302
- Resolve develop conflicts by @zhuharev in #307
- Add FileUniqueID to ChatAnimation by @AlessandroPomponio in #305
- Create helper function WriteToHTTPResponse by @CNA-Bld in #312
- Added omitempty tag for clean JSON marshaling by @biodranik in #336
- fix add sticker to stickerset uploads by url and fileId by @overplumbum in #210
- Uploading a new photo to a channel functionality added. by @zergon321 in #261
- Cleanup bot test by @ErrorBoi in #321
- Add API type docks pack one by @ilyakaznacheev in #383
- Add API type docks pack two by @ilyakaznacheev in #384
- Add API type docks pack three by @ilyakaznacheev in #385
- Attempt to use GitHub Actions by @Syfaro in #359
- Escape Telegram formatting symbols by @ErikPelli in #388
- Updates for Bot API 5.0 and 5.1 by @Syfaro in #392
- Add support for uploading multiple files by @Syfaro in #356
- Change UserID to int64 by @Syfaro in #431
- Handle error in NewWebhook and NewWebhookWithCert by @Eivel in #375
- Add helper for InlineKeyboardButtonLoginURL by @antsupovsa in #267
- Updates for Bot API 5.2, other small fixes by @Syfaro in #443
- Add improved documentation by @Syfaro in #434
- Updates for Bot API 5.3 by @Syfaro in #460
- Updates for Bot API 5.4 by @Syfaro in #486
- Create interface for file data by @Syfaro in #469
- Deduplicate code, improve response accuracy. by @Syfaro in #202
- [FEAT]: Add SentFrom method to Update type by @quenbyako in #416
- Fix bug with update channel closing, add ListenForWebhookRespReqFormat method by @farit2000 in #395
- Fix typos and grammar issues in comments by @alexandear in #483
- Fix comment format for functions and constants by @alexandear in #487
New Contributors
- @AlessandroPomponio made their first contribution in #305
- @CNA-Bld made their first contribution in #312
- @biodranik made their first contribution in #336
- @zergon321 made their first contribution in #261
- @ErrorBoi made their first contribution in #321
- @ErikPelli made their first contribution in #388
- @Eivel made their first contribution in #375
- @antsupovsa made their first contribution in #267
- @quenbyako made their first contribution in #416
- @farit2000 made their first contribution in #395
- @alexandear made their first contribution in #483
v5.4.0-beta.0
What's Changed
- Bot API 4.6: Polls 2.0, misc. changes by @tjhorner in #302
- Resolve develop conflicts by @zhuharev in #307
- Add FileUniqueID to ChatAnimation by @AlessandroPomponio in #305
- Create helper function WriteToHTTPResponse by @CNA-Bld in #312
- Added omitempty tag for clean JSON marshaling by @biodranik in #336
- fix add sticker to stickerset uploads by url and fileId by @overplumbum in #210
- Uploading a new photo to a channel functionality added. by @zergon321 in #261
- Cleanup bot test by @ErrorBoi in #321
- Add API type docks pack one by @ilyakaznacheev in #383
- Add API type docks pack two by @ilyakaznacheev in #384
- Add API type docks pack three by @ilyakaznacheev in #385
- Attempt to use GitHub Actions by @Syfaro in #359
- Escape Telegram formatting symbols by @ErikPelli in #388
- Updates for Bot API 5.0 and 5.1 by @Syfaro in #392
- Add support for uploading multiple files by @Syfaro in #356
- Change UserID to int64 by @Syfaro in #431
- Handle error in NewWebhook and NewWebhookWithCert by @Eivel in #375
- Add helper for InlineKeyboardButtonLoginURL by @antsupovsa in #267
- Updates for Bot API 5.2, other small fixes by @Syfaro in #443
- Add improved documentation by @Syfaro in #434
- Updates for Bot API 5.3 by @Syfaro in #460
- Updates for Bot API 5.4 by @Syfaro in #486
- Create interface for file data by @Syfaro in #469
- Deduplicate code, improve response accuracy. by @Syfaro in #202
New Contributors
- @AlessandroPomponio made their first contribution in #305
- @CNA-Bld made their first contribution in #312
- @biodranik made their first contribution in #336
- @zergon321 made their first contribution in #261
- @ErrorBoi made their first contribution in #321
- @ErikPelli made their first contribution in #388
- @Eivel made their first contribution in #375
- @antsupovsa made their first contribution in #267
Full Changelog: v5.0.1...v5.4.0-beta.0
Bot API 2.3
This release adds the new features and changes from the Telegram Bot API 2.3.
Please note that Telegram is deprecating the hide_keyboard
field in favor of remove_keyboard
.
Fix BaseEdit.values to allow editing inline messages
chat_id and message_id should be sent only if there is no
inline_message_id (and vice versa), according to documentation.
Without this change it is impossible to edit a message by InlineMessageID, because chat_id and message_id are always presented in a query and the Telegram server tries to use them instead of InlineMessageID
General improvements
This release adds the following new helper methods.
NewInlineQueryResultArticleMarkdown(id, title, messageText string)
NewInlineQueryResultArticleHTML(id, title, messageText string)
NewInlineQueryResultPhotoWithThumb(id, url, thumb string)
It also fixes a bug where update offsets could not be negative, which is a valid value.
Bot API 2.1
This release adds support for the new chat methods as part of the Bot API 2.1. It also adds support for bots to get edited messages.
New fields for Sticker and Message
This release adds the new Emoji
field on Sticker
and ForwardFromChat
field on Message
.
Fix ReplyMarkup on editing configs.
This release fixes the ReplyMarkup on config structs for editing messages.