SDKsFlutterEnterprise
Update a conversation group
Update an existing conversation group with the OpenIM Flutter SDK.
Use updateConversationGroup() to change an existing conversation group. conversationGroupID is required; pass only the fields that need to change in this request.
Parameters
| Field | Description |
|---|---|
conversationGroupID | Target conversation-group ID. Required. |
name | Optional new name. |
ex | Optional new extension string. |
hidden | Optional hidden state. |
order | Optional 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.
Was this page helpful?