v1

latestOpenAPI 3.0.32026-07-1416059.6 KB

sendChatAction

Use this method when you need to tell the user that something is happening on the bot's side.

post/bot{token}/sendChatAction

Path parameters

tokenstring required

Your Bot Token

Request body

chat_idstring

Unique identifier for the target chat or username of the target channel (in the format @channelusername)

actionstring

Type of action to broadcast. Choose one, depending on what the user is about to receive: typing for text messages, upload_photo for photos, record_video or upload_video for videos, record_audio or upload_audio for audio files, upload_document for general files, find_location for location data.

Response

200

okboolean
resultboolean

Example response

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