v3

latestOpenAPI 3.1.02026-08-01264769.0 KB
Bot

Get the current bot

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

get/bot/getMe

Headers

authorizationstring required

Required bot token using the Bearer scheme.

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"
    }
  }
}