• Set whether a channel/supergroup has join requests enabled.

    Note: this method only affects primary invite links. Additional invite links may exist with the opposite setting.

    Parameters

    Returns Promise<void>