Link Search Menu Expand Document

Method: phone.editGroupCallParticipant

Back to methods index

Edit information about a given group call participant

Note: flags.N?Bool parameters can have three possible values:

  • If the TL flag is not set, the previous value will not be changed.
  • If the TL flag is set and contains a boolTrue, the previous value will be overwritten to true.
  • If the TL flag is set and contains a boolFalse, the previous value will be overwritten to false.

Parameters:

NameTypeDescriptionRequired
callInputGroupCallThe group callYes
participantUsername, chat ID, Update, Message or InputPeerThe group call participant (can also be the user itself)Optional
mutedBoolWhether to mute or unmute the specified participantOptional
volumeintNew volumeOptional
raise_handBoolRaise or lower handOptional
video_stoppedBoolStart or stop the video streamOptional
video_pausedBoolPause or resume the video streamOptional
presentation_pausedBoolPause or resume the screen sharing streamOptional

Return type: Updates

Can bots use this method: NO

MadelineProto Example (now async for huge speed and parallelism!):

if (!file_exists('madeline.php')) {
    copy('https://phar.madelineproto.xyz/madeline.php', 'madeline.php');
}
include 'madeline.php';

$MadelineProto = new \danog\MadelineProto\API('session.madeline');
$MadelineProto->start();

$Updates = $MadelineProto->phone->editGroupCallParticipant(call: $InputGroupCall, participant: $InputPeer, muted: $Bool, volume: $int, raise_hand: $Bool, video_stopped: $Bool, video_paused: $Bool, presentation_paused: $Bool, );