Get information on a user’s chat membership.
The identifier of a chat.
The identifier of the user.
await client.getChatMember(chatId, userId);