SDKsFlutter
Set member-profile visibility
Control whether group members can view other members’ profiles with the OpenIM Flutter SDK.
await OpenIM.iMManager.groupManager.setGroupInfo(
GroupInfo(
groupID: groupID,
lookMemberInfo: AllowType.notAllow,
),
);AllowType.allow is 0 and means allowed. AllowType.notAllow is 1 and means not allowed. Do not interpret these numbers as ordinary boolean values.
This setting is independent of permission to add friends from the group. After the Future succeeds, reconcile the final state through onGroupInfoChanged or another query.
Was this page helpful?