Message.react()#
- Message.react()#
Bound method react of
Message
.Use as a shortcut for:
await client.send_reaction( chat_id=chat_id, message_id=message.id, emoji="🔥" )
Example
await message.react(emoji="🔥")
- Parameters:
emoji (
int
|str
| List ofint
|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.