SDKsFlutterEnterprise
Reorder conversation groups
Set the order of multiple Flutter conversation groups.
Use setConversationGroupOrder() to reorder multiple conversation groups in one request.
await OpenIM.iMManager.conversationGroupManager.setConversationGroupOrder(
orders: [
ConversationGroupOrder(groupID: firstGroupID, order: 100),
ConversationGroupOrder(groupID: secondGroupID, order: 200),
],
);ConversationGroupOrder.groupID means conversationGroupID, not an OpenIM chat-group ID. Each item provides both the target group and its new order value.
Result
The pinned Flutter declaration returns an unspecified Future. Success means that the reorder request completed. Reconcile subsequent state through onConversationGroupChanged or another query.
For the complete listener, see Conversation groups overview.
Was this page helpful?