Browse SDKs · Flutter
SDKsFlutterEnterprise

Update a conversation group

Update an existing conversation group with the OpenIM Flutter SDK.

Copy

Use updateConversationGroup() to change an existing conversation group. conversationGroupID is required; pass only the fields that need to change in this request.

Parameters

FieldDescription
conversationGroupIDTarget conversation-group ID. Required.
nameOptional new name.
exOptional new extension string.
hiddenOptional hidden state.
orderOptional order value.
await OpenIM.iMManager.conversationGroupManager.updateConversationGroup(
  req: UpdateConversationGroupReq(
    conversationGroupID: conversationGroupID,
    name: 'Priority work',
    hidden: false,
  ),
);

Result

The pinned Flutter declaration returns an unspecified Future. Success means only that the update request completed; do not claim that the method returns an updated ConversationGroupInfo.

Reconcile subsequent state through onConversationGroupChanged or another query. For the complete listener, see Conversation groups overview.