set_user_emoji_status()

Client.set_user_emoji_status()

Sets the emoji status for a given user. Requires the bot to have can_manage_emoji_status permission granted by the user.

Parameters:
  • user_id (int | str) – Unique identifier of the target user.

  • emoji_id (int) – Custom emoji document ID to set as the status. Pass 0 to remove the emoji status.

  • until (int, optional) – Unix timestamp; until when the status will remain active.

Returns:

bool – True on success.