getChatMembers

Get the members of a chat.

Parameters

chatId: ID

The chat to get its members.

offset?: number
limit?: number

Result

Syntax

// Required parameters only.
await client.getChatMembers(chatId);

// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.getChatMembers(chatId, { offset, limit });