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.
Chat ID or username
Whether join requests should be enabled
Set whether a channel/supergroup has join requests enabled.