set_emoji_status()

async Client.set_emoji_status()

Set the emoji status.

Usable by Users Bots
Parameters:
  • emoji_status (EmojiStatus, optional) – The emoji status to set. None to remove.

  • chat_id (int | str, optional) – Unique identifier (int) or username (str) of a channel to set the status of, rather than your own account.

Returns:

bool – On success, True is returned.

Example

from wzgram import types

await app.set_emoji_status(types.EmojiStatus(custom_emoji_id=1234567890987654321))