Browse SDKs · Flutter
SDKsFlutter

Retrieve joined groups by page

Retrieve groups joined by the current Flutter user by page.

Copy
final groups = await OpenIM.iMManager.groupManager.getJoinedGroupListPage(
  offset: 0,
  count: 50,
);

For each subsequent page, advance offset by the number of items already requested. If group-add or group-delete events arrive during pagination, restart the query from the first page.