Changelog for telegram-bot-api-6.7.1
telegram-bot-api
6.7.1 -- 2023-06-26
- Fix Inline Mode (see #157).
6.7 -- 2023-04-29
Bot API 6.6 support
-
Add new methods:
setMyDescription,getMyDecription,setMyShortDescription,getMyShortDescription.setCustomEmojiStickerSetThumbnail,setStickerSetTitle,deleteStickerSet,setStickerEmojiList,setStickerKeywords,setStickerMaskPosition.
-
Modify following methods:
sendSticker(addemoji).createNewStickerSet,addStickerToSet(stickertostickers, introducedInputSticker).uploadStickerFile(removepng_stickerand other formats, addsticker,sticker_formatfields).
-
Rename
thumbtothumbnail:- Types:
Animation,Audio,Document,Sticker,Video,VideoNote,InputMediaAnimation,InputMediaAudio,InputMediaDocument,InputMediaVideo,StickerSet. - Inlines:
InlineQueryResultPhoto,InlineQueryResultVideo,InlineQueryResultGif,InlineQueryResultMpeg4Gif. - Methods:
setStickerThumb(method renamed itself tosetStickerThumbnail),sendAnimation,sendAudio,sendDocument,sendVideo,sendVideoNote,
- Types:
-
Modify
Stickertype: addneeds_repaintingfield. -
Breaking changes: Given the amount of Bot API changes, common record fields were moved tonew
InlineQueryResultGenericdata type and all thumbnails were moved to newInlineQueryResultGenericThumbnaildata type. -
Migration guide:
- Provide
InlineQueryResultGeneric(seedefInlineQueryResultGeneric). - Provide
InlineQueryResultGenericThumbnail(seedefInlineQueryResultGenericThumbnail). - Specify your own
InlineQueryResult(see helpers for each data constructor).
- Provide
Bot API 6.7 support
See #155.
- Modify
answerInlineQuerymethod. - Modify
WriteAccessAlloweddata type. - Add missing method
switchInlineQueryChosenChat. - Modify
ChatMemberUpdateddata type. - Add new methods:
setMyName,getMyName.
6.5.1 -- 2023-03-21
- Add new methods
getMyDescription,getMyShortDescription,setMyDescription,setMyShortDescription(see #141). - Re-export Forum, Games, Payments and Stickers in
Telegram.Bot.API.Methods(see #143).
6.5 (Telegram Bot API 6.5)
- Package was originated at 6.5.