v3

latestOpenAPI 3.1.02026-08-01264769.0 KB
Bot

Delete bot commands

Deletes every command published by the authenticated bot. Returns an empty result when the command list is cleared.

post/bot/deleteMyCommands

Headers

authorizationstring required

Required bot token using the Bearer scheme.

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