Closed swamp-agr closed 1 year ago
See https://core.telegram.org/bots/api for changelog
setMyDescription
getMyDescription
setMyShortDescription
getMyShortDescription
sendSticker
emoji
createNewStickerSet
sticker
stickers
InputSticker
sticker_format
sticker_type
needs_repainting
Sticker
addStickerToSet
uploadStickerFile
png_sticker
setCustomEmojiStickerSetThumbnail
setStickerSetTitle
deleteStickerSet
setStickerEmojiList
setStickerKeywords
setStickerMaskPosition
thumb
thumbnail
setStickerSetThumb
thumb_url
thumb_width
thumb_height
thumbnail_url
thumbnail_width
thumbnail_height
thumb_mime_type
thumbnail_mime_type
Given the amount of new stickers method it is reasonable to split the module onto multiple sub-modules and then re-import them in Telegram.Bot.API.Stickers.
Telegram.Bot.API.Stickers
Closed via #152.
Splitting Stickers on sub-modules was removed from the scope of the issue.
Stickers
Bot API 6.6
See https://core.telegram.org/bots/api for changelog
setMyDescription
methodgetMyDescription
methodsetMyShortDescription
methodgetMyShortDescription
methodsendSticker
: addemoji
createNewStickerSet
:sticker
->stickers
(see below),InputSticker
type (some fields from request should move here),sticker_format
field,sticker_type
fieldneeds_repainting
field.Sticker
type addneeds_repainting
field.addStickerToSet
method:sticker
->stickers
(see below),InputSticker
type (again some fields from request should move here).uploadStickerFile
method (request):png_sticker
field,sticker
field,sticker_format
field.setCustomEmojiStickerSetThumbnail
method.setStickerSetTitle
method.deleteStickerSet
method.setStickerEmojiList
method.setStickerKeywords
method.setStickerMaskPosition
method.thumb
in the classes Animation, Audio, Document, Sticker, Video, VideoNote, InputMediaAnimation, InputMediaAudio, InputMediaDocument, InputMediaVideo, StickerSet tothumbnail
.thumb
in the methods sendAnimation, sendAudio, sendDocument, sendVideo, sendVideoNote tothumbnail
.setStickerSetThumb
to setStickerSetThumbnail and its parameterthumb
tothumbnail
.thumb_url
,thumb_width
, andthumb_height
in the classes InlineQueryResultArticle, InlineQueryResultContact, InlineQueryResultDocument, InlineQueryResultLocation, and InlineQueryResultVenue tothumbnail_url
,thumbnail_width
, andthumbnail_height
respectively.thumb_url
in the classes InlineQueryResultPhoto and InlineQueryResultVideo tothumbnail_url
.thumb_url
andthumb_mime_type
in the classes InlineQueryResultGif, and InlineQueryResultMpeg4Gif tothumbnail_url
andthumbnail_mime_type
respectively.Given the amount of new stickers method it is reasonable to split the module onto multiple sub-modules and then re-import them in
Telegram.Bot.API.Stickers
.