enableJoinRequests

Enable join requests in a chat. USER-ONLY

Parameters

chatId: ID

The identifier of a chat. Must be a channel or a supergroup.

Result

void

Syntax

await client.enableJoinRequests(chatId);