disableJoinRequests

Disable 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.disableJoinRequests(chatId);