Bot

Send a chat action

Publishes a short-lived typing or upload indicator.

post/bot/sendChatAction

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Request body

user_idinteger

Target a private conversation with this user. Supply exactly one of user_id or chat_id.

chat_idinteger

Target this chat. Supply exactly one of chat_id or user_id.

action'typing' | 'upload_photo' | 'upload_video' | 'upload_document' | 'record_voice' | 'cancel' required

Response

Successful response for an action with no return value.

oktrue required

Always true for a successful request.

resultobject required

Method-specific response payload.

Example response

{
  "ok": true,
  "result": {}
}

Changes