Actions49
- Message Actions
- Thread Actions
- Reactions Actions
- Chat Actions
- User Actions
- Group Tag Actions
- Status Actions
- Custom Fields Actions
- Task Actions
- Bot Actions
- File Actions
- Form Actions
Chat → Get chat members
AI-generatedSummary
Retrieve members of a specified chat filtered by their role with pagination support.
Inputs
- Chat ID (required) — ID of the chat to retrieve members from.
- Role — Filter chat members by their role; options are All, Owner, Admin, Editor, or Member. Defaults to 'All'.
- Limit — Maximum number of chat members to return, up to 50. Defaults to 50.
- Cursor — Pagination cursor to fetch the next page of members, obtained from meta.paginate.next_page.
Output shape
A paginated list of chat member records matching the specified role filter.
The response supports pagination; use the provided cursor from meta.paginate.next_page to retrieve subsequent pages. Maximum limit per request is 50 members.
Examples
Example 1: List first 50 members with role 'Admin' in chat ID 123
Set Chat ID to 123, Role to 'Admin', Limit to 50, and leave Cursor empty.
Example 2: Fetch next page of all members from chat ID 123
Set Chat ID to 123, Role to 'All', Limit to 50, and Cursor to the value from the previous call's meta.paginate.next_page.
