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 ».
Method schema is available as of layer 151. Switch »
Name | Type | Description |
---|---|---|
channel | InputChannel | Supergroup ID |
enabled | Bool | If true, will hide the participants list; otherwise will unhide it. |
Code | Type | Description |
---|---|---|
400 | CHAT_ID_INVALID | The provided chat id is invalid. |
400 | CHAT_NOT_MODIFIED | No changes were made to chat information because the new information you passed is identical to the current information. |
400 | PARTICIPANTS_TOO_FEW | Not enough participants. |
How to handle channels, supergroups, gigagroups, basic groups, and what's the difference between them.
The MTProto API has multiple configuration parameters that can be fetched with the appropriate methods.