Browse SDKs · React Native
SDKsReact NativeEnterprise

Get a group call room

Get a call room by group ID.

Copy

Call signalingGetRoomByGroupID() to get group-call room information by group ID. groupID is the target group ID.

const room = await OpenIMSDK.signalingGetRoomByGroupID(groupID);

Return value

The call returns CallingRoomData:

FieldTypeDescription
roomIDstringCall room ID.
invitationRtcInvite (optional)Call invitation information for the room.
participantParticipantInfo[] (optional)Information about current room participants.

userInfo in participant contains user information. In group calls, it can also contain groupMemberInfo and groupInfo. Use the returned roomID to query room credentials or handle the corresponding call state.