Browse SDKs · React Native
SDKsReact Native

Get group information

OpenIM React Native SDK guide for get group information.

Copy

Call getSpecifiedGroupsInfo() to retrieve information for specific groups by group ID.

const groups = await OpenIMSDK.getSpecifiedGroupsInfo([
  'group-001',
  'group-002',
]);

Parameters

| Parameter | Type | Required | Description | | --- | --- | --- | | groupIDs | string[] | Yes | IDs of the groups to retrieve. |

Return value

When the call completes, it returns matching GroupItem[] entries. See Group overview for field descriptions.