Link Search Menu Expand Document

Method: phone.toggleGroupCallSettings

Back to methods index

Change group call settings

Parameters:

NameTypeDescriptionRequired
reset_invite_hashBoolInvalidate existing invite linksOptional
callInputGroupCallGroup callYes
join_mutedBoolWhether all users will that join this group call are muted by default upon joining the group callOptional

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->toggleGroupCallSettings(reset_invite_hash: $Bool, call: $InputGroupCall, join_muted: $Bool, );