Bot

Answer a message action

Acknowledges an action interaction and optionally shows a short toast.

post/bot{token}/answerMessageAction

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

interaction_idinteger required

A positive Inline message identifier

textstring

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