InputMediaSticker
Represents a sticker file to be sent.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the media, must be sticker |
media | string | required | 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 » |
emoji | string | optional | Optional. Emoji associated with the sticker; only for just uploaded stickers |
import
import type { InputMediaSticker } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#inputmediasticker