InputMediaSticker

class pyrogram.types.InputMediaSticker

A sticker to be attached.

Parameters:
  • media (str | BinaryIO) – Sticker to send. Pass a file_id as string to send a file that exists on the Telegram servers or 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 or pass an HTTP URL as a string for Telegram to get the webp file from the Internet.

  • emoji (str, optional) – Emoji associated with this sticker.