Bot
Get bot commands
Changed onReturns the command list currently published by the authenticated bot.
get/bot{token}/getMyCommands
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.
Response
Successful getMyCommands response.
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
}
]
}
}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