set_chat_available_reactions()

async Client.set_chat_available_reactions()

Set allowed reactions in a chat or channel.

Usable by Users Bots
Parameters:
  • chat_id (int | str) – Target chat identifier.

  • available_reactions (ChatReactions) – Allowed reactions.

  • reactions_limit (int, optional) – Maximum number of reactions per message.

  • paid_enabled (bool, optional) – Whether paid reactions are enabled.

Returns:

Updates – Updates.