Skip to content

GramIO API Reference / gramio/dist / TelegramInputMediaSticker

Interface: TelegramInputMediaSticker

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

Represents a sticker file to be sent.

Documentation

Properties

PropertyTypeDescriptionDefined in
emoji?stringOptional. Emoji associated with the sticker; only for just uploaded stickers@gramio/types/out/objects.d.ts:6580
mediastring | BlobFile to send. Pass a file_id to send a file that exists on the Telegram servers (recommended), pass an HTTP URL for Telegram to get a .WEBP sticker from the Internet, or pass “attach://<file_attach_name>” to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under <file_attach_name> name. More information on Sending Files »@gramio/types/out/objects.d.ts:6576
type"sticker"Type of the media, must be sticker@gramio/types/out/objects.d.ts:6572