approveJoinRequest

Approve a join request.

Parameters

chatId: ID

The identifier of the chat that contains the join request.

userId: ID

The user who made the join request.

Result

void

Syntax

await client.approveJoinRequest(chatId, userId);