peyk.platforms.telegram.methods.set_sticker_emoji_list

async peyk.platforms.telegram.methods.set_sticker_emoji_list(self, sticker: str, emoji_list: List[str]) bool

Use this method to change the list of emoji assigned to a regular or custom emoji sticker. The sticker must belong to a sticker set created by the bot. Returns True on success.

Parameters:
  • sticker – File identifier of the sticker

  • emoji_list – A JSON-serialized list of 1-20 emoji associated with the sticker

Returns:

Result returned by Telegram on successful execution.

Return type:

bool