approveJoinRequest

Approve a join request.

Parameters

chatId: ID

The identifier of a chat with the join request.

userId: ID

The user who made the join request.

Result

void

Syntax

await client.approveJoinRequest(chatId, userId);