setMemberListVisibility

Hide or show the member list of a group to non-admins. USER-ONLY

Parameters

chatId: ID

The identifier of the group.

visible: boolean

Whether the member list of the group should be visible.

Result

void

Syntax

await client.setMemberListVisibility(chatId, visible);