Message.react()ΒΆ
- async Message.react()[source]ΒΆ
Shortcut for method
send_reactionwill automatically fill method attributes:chat_id
message_id
business_connection_id
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.