getCallGroupJid static method

Future<String> getCallGroupJid()

Retrieves the group JID for video call purposes.

This static method asynchronously fetches the group JID used for current ongoing/incoming call. The group JID uniquely identifies the group conversation where the audio or video call will be conducted.

Returns a Future that completes with the group JID string upon success.

Throws an error if there's any issue with retrieving the group JID.

Implementation

static Future<String> getCallGroupJid() async {
  return FlyChatFlutterPlatform.instance.getCallGroupJid();
}