Раздел
Стикеры
Stickers
The following methods and objects allow your bot to handle stickers and sticker sets.
Методы 16
| Метод | Статус | Описание |
|---|---|---|
sendSticker | Частично | Use this method to send static .WEBP, animated .TGS, or video .WEBM stickers. |
getStickerSet | Поддерживается | Use this method to get a sticker set. |
getCustomEmojiStickers | Поддерживается | Use this method to get information about custom emoji stickers by their identifiers. |
uploadStickerFile | Поддерживается | Use this method to upload a file with a sticker for later use in the createNewStickerSet , addStickerToSet , or replaceStickerInSet methods (the file can be used multiple times). |
createNewStickerSet | Поддерживается | Use this method to create a new sticker set owned by a user. |
addStickerToSet | Поддерживается | Use this method to add a new sticker to a set created by the bot. |
setStickerPositionInSet | Поддерживается | Use this method to move a sticker in a set created by the bot to a specific position. |
deleteStickerFromSet | Поддерживается | Use this method to delete a sticker from a set created by the bot. |
replaceStickerInSet | Поддерживается | Use this method to replace an existing sticker in a sticker set with a new one. |
setStickerEmojiList | Поддерживается | Use this method to change the list of emoji assigned to a regular or custom emoji sticker. |
setStickerKeywords | Поддерживается | Use this method to change search keywords assigned to a regular or custom emoji sticker. |
setStickerMaskPosition | Поддерживается | Use this method to change the mask position of a mask sticker. |
setStickerSetTitle | Поддерживается | Use this method to set the title of a created sticker set. |
setStickerSetThumbnail | Поддерживается | Use this method to set the thumbnail of a regular or mask sticker set. |
setCustomEmojiStickerSetThumbnail | Поддерживается | Use this method to set the thumbnail of a custom emoji sticker set. |
deleteStickerSet | Поддерживается | Use this method to delete a sticker set that was created by the bot. |
Типы 4
| Тип | Описание |
|---|---|
Sticker | This object represents a sticker. |
StickerSet | This object represents a sticker set. |
MaskPosition | This object describes the position on faces where a mask should be placed by default. |
InputSticker | This object describes a sticker to be added to a sticker set. |