Message.reply_chat_action()¶
- Message.reply_chat_action()¶
 Bound method reply_chat_action of
Message.Use as a shortcut for:
from pyrogram import enums await client.send_chat_action( chat_id=message.chat.id, action=enums.ChatAction.TYPING )Example
from pyrogram import enums await message.reply_chat_action(enums.ChatAction.TYPING)- Parameters:¶
 action (
ChatAction) – Type of action to broadcast.business_connection_id (
str, optional) – Business connection identifier. for business bots only.emoji (
str, optional) – The animated emoji. Only supported forTRIGGER_EMOJI_ANIMATIONandWATCH_EMOJI_ANIMATION.emoji_message_id (
int, optional) – Message identifier of the message containing the animated emoji. Only supported forTRIGGER_EMOJI_ANIMATION.emoji_message_interaction (
raw.types.DataJSON, optional) – Only supported forTRIGGER_EMOJI_ANIMATION.
- Returns:¶
 bool– On success, True is returned.- Raises:¶
 RPCError – In case of a Telegram RPC error.
ValueError – In case the provided string is not a valid chat action.