---
title: "POST /getChatMembersCount"
method: POST
path: "/getChatMembersCount"
---

# POST /getChatMembersCount

`POST /getChatMembersCount`

Use this method to get the number of members in a chat. Returns *Int* on success.

## Request body

- object
  - `chat_id` union, required — Unique identifier for the target chat or username of the target supergroup or channel (in the format `@channelusername`)
    - integer
    - string

## Response `200`

- object
  - `ok` boolean, required
  - `result` integer, required

## Other responses

- `default`

---

[API](https://skmtc.net/stoplight/apis/telegram-bot-api.md) · [All operations](https://skmtc.net/stoplight/apis/telegram-bot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/stoplight/telegram-bot-api/versions/be4bbb34b64a/schema)
