v3

latestOpenAPI 3.1.02026-08-01264769.0 KB
Bot

Send a reaction

Adds the bot's emoji reaction to a message. Returns an empty result when the reaction is applied.

post/bot{token}/sendReaction

Path parameters

tokenstring required

Required bot token included in the URL path.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

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.

message_idinteger required

Message to react to in the target chat.

emojistring required

Emoji reaction to add or update.

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": {}
}