v3

latestOpenAPI 3.1.02026-08-01264769.0 KB
Bot

Get bot commands

Returns the command list currently published by the authenticated bot.

get/bot/getMyCommands

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Response

Successful getMyCommands response.

oktrue required

Always true for a successful request.

Example response

{
  "ok": true,
  "result": {
    "commands": [
      {
        "command": "deploy",
        "description": "Deploy the latest build",
        "sort_order": 10
      },
      {
        "command": "status",
        "description": "Show the current deployment status",
        "sort_order": 20
      }
    ]
  }
}