SDKsFlutter
Update the group name, description, and avatar
Update a group’s basic display profile with the OpenIM Flutter SDK.
await OpenIM.iMManager.groupManager.setGroupInfo(
GroupInfo(
groupID: groupID,
groupName: groupName.trim(),
introduction: introduction.trim(),
faceURL: faceURL,
),
);Pass only fields that the profile editor actually changed. The announcement, join verification, and member permissions are separate settings and must not be overwritten while saving the group name or avatar.
A successful Future means that the server completed the request. Reconcile the final profile through onGroupInfoChanged or getGroupsInfo().
Was this page helpful?