peyk.platforms.telegram.types.input_media_sticker¶
Classes
|
Represents a sticker file to be sent. |
- class peyk.platforms.telegram.types.input_media_sticker.InputMediaSticker(media: object, type: str = 'sticker', emoji: str | None = None, mask_position: object | None = None)[source]¶
Bases:
objectRepresents a sticker file to be sent.
- Variables:
type (str) – Type of the media, must be sticker
media (object) – 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://’ to upload a new .WEBP, .TGS, or .WEBM sticker using multipart/form-data under name. More information on Sending Files
emoji (str | None) – Emoji associated with the sticker; only for just uploaded stickers
- media: object¶
- type: str = 'sticker'¶
- emoji: str | None = None¶
- mask_position: object | None = None¶