getChatMember

Get information on a user’s chat membership.

Parameters

chatId: ID

The identifier of a chat that includes the user.

userId: ID

The identifier of the user.

Result

Syntax

await client.getChatMember(chatId, userId);