inviteConferenceCallParticipant method

Future<Result<UpdatesBase>> inviteConferenceCallParticipant({
  1. required bool video,
  2. required InputGroupCallBase call,
  3. required InputUserBase userId,
})

Invite Conference Call Participant.

ID: bcf22685.

Implementation

Future<Result<UpdatesBase>> inviteConferenceCallParticipant({
  required bool video,
  required InputGroupCallBase call,
  required InputUserBase userId,
}) async {
  // Preparing the request.
  final request = PhoneInviteConferenceCallParticipant(
    video: video,
    call: call,
    userId: userId,
  );

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

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