setMemberListVisibility

Hide or show the member list of a group to non-admins. User-only.

Parameters

chatId: ID

The identifier of a group.

visible: boolean

Whether the member list of the group should be visible.

Result

void

Syntax

await client.setMemberListVisibility(chatId, visible);