pub async fn send_chat_action(
chat_id: i64,
message_thread_id: i64,
business_connection_id: String,
action: Option<ChatAction>,
client_id: i32,
) -> Result<(), Error>Expand description
Sends a notification about user activity in a chat
ยงArguments
chat_id- Chat identifiermessage_thread_id- If not 0, the message thread identifier in which the action was performedbusiness_connection_id- Unique identifier of business connection on behalf of which to send the request; for bots onlyaction- The action description; pass null to cancel the currently active actionclient_id- The client id to send the request to