v3
latestOpenAPI 3.1.02026-08-01264769.0 KBBot
Delete bot commands
Deletes every command published by the authenticated bot. Returns an empty result when the command list is cleared.
post/bot{token}/deleteMyCommands
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.
Response
Successful response for an action with no return value.
Example response
{
"ok": true,
"result": {}
}