setCustomEmojiStickerSetThumbnail¶
Returns: bool
- class litegram.methods.set_custom_emoji_sticker_set_thumbnail.SetCustomEmojiStickerSetThumbnail(*, name: str, custom_emoji_id: str | None = None, **extra_data: Any)[source]¶
Use this method to set the thumbnail of a custom emoji sticker set. Returns
Trueon success.Source: https://core.telegram.org/bots/api#setcustomemojistickersetthumbnail
Usage¶
As bot method¶
result: bool = await bot.set_custom_emoji_sticker_set_thumbnail(...)
Method as object¶
Imports:
from litegram.methods.set_custom_emoji_sticker_set_thumbnail import SetCustomEmojiStickerSetThumbnailalias:
from litegram.methods import SetCustomEmojiStickerSetThumbnail
With specific bot¶
result: bool = await bot(SetCustomEmojiStickerSetThumbnail(...))
As reply into Webhook in handler¶
return SetCustomEmojiStickerSetThumbnail(...)