v3
latestOpenAPI 3.1.02026-08-01264769.0 KBBot
Replace bot capabilities
Replaces the authenticated bot's complete capability list.
post/bot{token}/setMyCapabilities
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
Response
Successful bot capability response.
Example response
{
"ok": true,
"result": {
"capabilities": [
{
"kind": "chat_settings",
"version": 1
}
]
}
}