exportGroupCallInvite method

Future<Result<PhoneExportedGroupCallInviteBase>> exportGroupCallInvite({
  1. required bool canSelfUnmute,
  2. required InputGroupCallBase call,
})

Export Group Call Invite.

ID: e6aa647f.

Implementation

Future<Result<PhoneExportedGroupCallInviteBase>> exportGroupCallInvite({
  required bool canSelfUnmute,
  required InputGroupCallBase call,
}) async {
  // Preparing the request.
  final request = PhoneExportGroupCallInvite(
    canSelfUnmute: canSelfUnmute,
    call: call,
  );

  // Invoke and wait for response.
  final response = await _c.invoke(request);

  // Return the result.
  return response._to<PhoneExportedGroupCallInviteBase>();
}