enableJoinRequests

Enable join requests in a chat. User-only.

PARAMETERS
chatId: ID

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

RESULT
void
SYNTAX
await client.enableJoinRequests(chatId);