Bot

Get the current bot

Changed on

A simple method for testing bot authentication. Returns basic information about the bot account associated with the supplied token.

get/bot{token}/getMe

Request

  • Base URL
    https://api.inline.chat
  • Auth
    none 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.

oktrue required

Always true for a successful request.

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

      added the non-success response with the status