Browse SDKs · Flutter
SDKsFlutter

Retrieve specified group profiles

Retrieve Flutter group profiles by group ID.

Copy

A group query establishes a snapshot at call time and does not trigger the group listener. Public group discovery, cross-application directories, and complex permission filtering belong to the application backend. SDK queries target known groups and groups joined by the current account.

final groups = await OpenIM.iMManager.groupManager.getGroupsInfo(
  groupIDList: groupIDs,
);

A successful Future returns the matching List<GroupInfo>. Even when retrieving one group, pass a list and check whether the result is empty. Merge subsequent increments according to Groups overview.