set_chat_reactions()

Client.set_chat_reactions()

Set the default emoji to use in chat.

Use set_chat_reactions() to set one or more emoji for the chat to react to messages..

Parameters:
  • chat_id (int | str) – Unique identifier (int) or username (str) of the target chat.

  • available_reactions – List of str

Returns:

bool – On success, true is returned

Example

app.set_chat_reactions(chat_id, ["❤️", "👍"])