channels.ToggleParticipantsHidden#

class pyrogram.raw.functions.channels.ToggleParticipantsHidden#

Hide or display the participants list in a supergroup. The supergroup must have at least hidden_members_group_size_min participants in order to use this method, as specified by the client configuration parameters.

Usable by Users Bots
Details:
  • Layer: 224

  • ID: 6A6E7854

Parameters:
  • channel (InputChannel) – Supergroup ID

  • enabled (bool) – If true, will hide the participants list; otherwise will unhide it.

Returns:

Updates