inviteUsersToOngoingCall static method

Future<void> inviteUsersToOngoingCall({
  1. required List<String> jidList,
  2. required dynamic flyCallback(
    1. FlyResponse response
    ),
})

Invites users to an ongoing call.

This static method sends an invitation to join an ongoing call to the users specified by their JIDs. The jidList parameter is a list of JIDs of the users to be invited.

Returns: The flyCallBack parameter is a function that will be called upon completion of the operation. It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.

Implementation

static Future<void> inviteUsersToOngoingCall(
    {required List<String> jidList,
    required Function(FlyResponse response) flyCallback}) async {
  return FlyChatFlutterPlatform.instance
      .inviteUsersToOngoingCall(jidList, flyCallback);
}