editGroupCallParticipant method

Future<Result<UpdatesBase>> editGroupCallParticipant({
  1. required InputGroupCallBase call,
  2. required InputPeerBase participant,
  3. bool? muted,
  4. int? volume,
  5. bool? raiseHand,
  6. bool? videoStopped,
  7. bool? videoPaused,
  8. bool? presentationPaused,
})

Edit Group Call Participant.

ID: a5273abf.

Implementation

Future<Result<UpdatesBase>> editGroupCallParticipant({
  required InputGroupCallBase call,
  required InputPeerBase participant,
  bool? muted,
  int? volume,
  bool? raiseHand,
  bool? videoStopped,
  bool? videoPaused,
  bool? presentationPaused,
}) async {
  // Preparing the request.
  final request = PhoneEditGroupCallParticipant(
    call: call,
    participant: participant,
    muted: muted,
    volume: volume,
    raiseHand: raiseHand,
    videoStopped: videoStopped,
    videoPaused: videoPaused,
    presentationPaused: presentationPaused,
  );

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

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