peyk.platforms.telegram.methods.set_custom_emoji_sticker_set_thumbnail

async peyk.platforms.telegram.methods.set_custom_emoji_sticker_set_thumbnail(self, name: str, custom_emoji_id: str | None = None) bool

Use this method to set the thumbnail of a custom emoji sticker set. Returns True on success.

Parameters:
  • name – Sticker set name

  • custom_emoji_id – Custom emoji identifier of a sticker from the sticker set; pass an empty string to drop the thumbnail and use the first sticker as the thumbnail

Returns:

Result returned by Telegram on successful execution.

Return type:

bool