InputSticker¶
- class pyrogram.types.InputSticker[source]¶
A sticker to be added to a sticker set.
- Parameters:
sticker (
str|BinaryIO) – The added sticker. Pass a file_id as string to use a file that exists on the Telegram servers, pass an HTTP URL as string to download the file and upload it, pass a file path as string to upload a new file that exists on your local machine or pass a binary file-like object with its attribute “.name” set for in-memory uploads.format (
StickerFormat) – Format of the added sticker.emoji_list (List of
str) – List of 1-20 emoji associated with the sticker.mask_position (
MaskPosition, optional) – Position where the mask should be placed on faces. For mask stickers only.keywords (List of
str, 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.