Message.react()

Message.react()

Shortcut for method send_reaction will automatically fill method attributes:

  • chat_id

  • message_id

  • business_connection_id

Example

await message.react(emoji="🔥")
Parameters:
  • emoji (int | str | List of int | str, optional) – Reaction emoji. Pass None as emoji (default) to retract the reaction. Pass list of int or str to react multiple emojis.

  • big (bool, optional) – Pass True to show a bigger and longer reaction. Defaults to False.

Returns:

bool – On success, True is returned.

Raises:

RPCError – In case of a Telegram RPC error.