Skip to content

GramIO API Reference / gramio/dist / TelegramInputSticker

Interface: TelegramInputSticker

Defined in: @gramio/types/out/objects.d.ts:6203

This object describes a sticker to be added to a sticker set.

Documentation

Properties

PropertyTypeDescriptionDefined in
emoji_liststring[]List of 1-20 emoji associated with the sticker@gramio/types/out/objects.d.ts:6215
formatTelegramInputStickerFormatFormat of the added sticker, must be one of “static” for a .WEBP or .PNG image, “animated” for a .TGS animation, “video” for a .WEBM video@gramio/types/out/objects.d.ts:6211
keywords?string[]Optional. List of 0-20 search keywords for the sticker with total length of up to 64 characters. For “regular” and “custom_emoji” stickers only.@gramio/types/out/objects.d.ts:6223
mask_position?TelegramMaskPositionOptional. Position where the mask should be placed on faces. For “mask” stickers only.@gramio/types/out/objects.d.ts:6219
stickerstring | BlobThe added sticker. Pass a file_id as a String to send a file that already exists on the Telegram servers, pass an HTTP URL as a String for Telegram to get a file from the Internet, or pass “attach://<file_attach_name>” to upload a new file using multipart/form-data under <file_attach_name> name. Animated and video stickers can't be uploaded via HTTP URL. More information on Sending Files »@gramio/types/out/objects.d.ts:6207