editGroupCallParticipant method
Future<Result<UpdatesBase> >
editGroupCallParticipant({
- required InputGroupCallBase call,
- required InputPeerBase participant,
- required bool muted,
- int? volume,
- required bool raiseHand,
- required bool videoStopped,
- required bool videoPaused,
- required bool presentationPaused,
Edit Group Call Participant.
ID: a5273abf
.
Implementation
Future<Result<UpdatesBase>> editGroupCallParticipant({
required InputGroupCallBase call,
required InputPeerBase participant,
required bool muted,
int? volume,
required bool raiseHand,
required bool videoStopped,
required bool videoPaused,
required 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>();
}