set_sticker_set_thumbnail()

async Client.set_sticker_set_thumbnail()

Set the thumbnail of a regular or mask sticker set. The format of the thumbnail file must match the format of the stickers in the set.

Usable by Users Bots
Parameters:
  • user_id (int | str) – Unique identifier (int) or username (str) of the sticker set owner.

  • name (str) – Name of the sticker set.

  • format (StickerFormat) – Format of the thumbnail.

  • thumbnail (str | BinaryIO, optional) – File path, HTTP URL, file_id or binary file-like object of the thumbnail. Omit to remove the thumbnail.

Returns:

StickerSet – The updated sticker set is returned.