channels.ToggleJoinRequest#

class pyrogram.raw.functions.channels.ToggleJoinRequest#

Set whether all users should request admin approval to join the group.

Details:
  • Layer: 158

  • ID: 4C2985B6

Parameters:
  • channel (InputChannel) – Group.

  • enabled (bool) – Toggle.

Returns:

Updates