getChatMembers

Get the members of a chat.

Parameters

chatId: ID

The chat to get its members.

offset?: number

The number of results to skip.

limit?: number

The maximum number of results to return.

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 });