---
title: "Get a chat participant"
method: GET
path: "/bot/getChatParticipant"
tags: ["Bot"]
---

# Get a chat participant

`GET /bot/getChatParticipant`

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

## Query parameters

- `chat_id` string, required — A positive decimal Inline chat identifier
- `user_id` string, required — A positive decimal Inline user identifier

## Headers

- `authorization` string, required

## Response `200`

BotGetChatParticipantSuccess

- BotGetChatParticipantSuccess
  - `ok` true, required — Always true for a successful request.
  - `result` object, required — Method-specific response payload.
    - `participant` BotChatParticipant, required
      - `user` BotUser, required — Basic information about an Inline user or bot.
        - `id` integer, required — Unique identifier for this Inline user.
        - `is_bot` boolean, required — True when the user represents a bot account.
        - `username` string — Public username, without the leading @.
        - `first_name` string — User's first or display name.
        - `last_name` string — User's last name, when available.
      - `member` BotSpaceMember
        - `id` integer, required — A positive integer that can be represented exactly by a JavaScript number
        - `space_id` integer, required — A positive Inline space identifier
        - `user_id` integer, required — A positive Inline user identifier
        - `role` 'owner' | 'admin' | 'member'
        - `date` integer, required — A non-negative integer that can be represented exactly by a JavaScript number
        - `can_access_public_chats` boolean, required

## Other responses

- `400` — The request parameters are missing or invalid.
- `401` — The bot token is missing or invalid.
- `403` — The bot is not allowed to perform this action.
- `404` — The requested method or resource was not found.
- `500` — The server could not complete the request.

---

[API](https://skmtc.dev/inline/apis/inline-bot-http-api-docs.md) · [All operations](https://skmtc.dev/inline/apis/inline-bot-http-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/inline/inline-bot-http-api-docs/revisions/69017b8dc5fe/schema)
