Bot

Get a chat participant

Returns one participant of an accessible chat, with space membership when applicable.

get/bot{token}/getChatParticipant

Path parameters

tokenstring required

Required bot token included in the URL path.

Query parameters

chat_idstring required

A positive decimal Inline chat identifier

Example:123456789

Bot method parameter.

user_idstring required

A positive decimal Inline user identifier

Example:123456789

Bot method parameter.

Headers

authorizationstring

Optional bot token using the Bearer scheme. When supplied, it takes precedence over the token in the URL.

Response

BotGetChatParticipantSuccess

oktrue required

Always true for a successful request.

Example response

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

Changes