Bot

Returns the people and bots the authenticated bot works with, plus those of the person it acts for: its owner, bots the owner manages, people in shared chats and spaces, and bots it may use. Each contact says why it is one and, for bots, what the authenticated bot may do with it.

get/bot/getContacts

Request

  • Base URL
    https://api.inline.chat
  • Auth
    none required

Query parameters

querystring

Bot method parameter.

kind'all' | 'people' | 'bots'

Bot method parameter.

limitstring

A signed decimal integer string within JavaScript's safe-integer range

Example:42

Bot method parameter.

Headers

authorizationstring required

Required bot token using the Bearer scheme.

Response

BotGetContactsSuccess

oktrue required

Always true for a successful request.

Example response

{
  "result": {
    "contacts": [
      {
        "user": {
          "id": 284901,
          "is_bot": true,
          "username": "deploy_bot",
          "first_name": "Deploy Bot"
        }
      }
    ]
  }
}

Changes