v3

latestOpenAPI 3.1.02026-08-01264769.0 KB
Bot

Replace bot capabilities

Replaces the authenticated bot's complete capability list.

post/bot/setMyCapabilities

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Request body

Response

Successful bot capability response.

oktrue required

Always true for a successful request.

Example response

{
  "ok": true,
  "result": {
    "capabilities": [
      {
        "kind": "chat_settings",
        "version": 1
      }
    ]
  }
}