Bot
Get the current bot
Changed onA simple method for testing bot authentication. Returns basic information about the bot account associated with the supplied token.
get/bot{token}/getMe
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 getMe response.
Example response
{
"ok": true,
"result": {
"user": {
"id": 284901,
"is_bot": true,
"username": "deploy_bot",
"first_name": "Deploy Bot"
}
}
}Changes
- info
added the optional property
//////////to the response with the status
- info
- info
added the non-success response with the status
- info