Bot
Replace bot commands
Changed onReplaces the authenticated bot's complete command list. Commands appear to users in sort_order; send an empty array to clear the list.
post/bot{token}/setMyCommands
Request
- Base URLhttps://api.inline.chat
- Authnone required
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 response for an action with no return value.
Example response
{
"ok": true,
"result": {}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info