Method: phone.checkGroupCall
Check whether the group call Server Forwarding Unit is currently receiving the streams with the specified WebRTC source IDs.
Returns an intersection of the source IDs specified in sources
, and the source IDs currently being forwarded by the SFU.
Parameters:
Name | Type | Description | Required |
---|---|---|---|
call | InputGroupCall | Group call | Yes |
sources | Array of int | Source IDs | Yes |
Return type: Vector_of_int
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();
$Vector_of_int = $MadelineProto->phone->checkGroupCall(call: $InputGroupCall, sources: [$int, $int], );