GramIO API Reference / gramio/dist / TelegramInputMediaSticker
Interface: TelegramInputMediaSticker
Defined in: @gramio/types/out/objects.d.ts:6568
Represents a sticker file to be sent.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
emoji? | string | Optional. Emoji associated with the sticker; only for just uploaded stickers | @gramio/types/out/objects.d.ts:6580 |
media | string | Blob | File 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 |