1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 07:58:58 +01:00
This commit is contained in:
Daniil Gentili 2024-01-11 20:52:41 +01:00
parent ccdfe259ef
commit 566d996eef

View File

@ -324,6 +324,15 @@ abstract class InternalDoc
{
$this->wrapper->getAPI()->callPlayOnHold($id, ...$files);
}
/**
* Set output file or stream for incoming OPUS audio packets in a call.
*
* Will write an OGG OPUS stream to the specified file or stream.
*/
public function callSetOutput(int $id, \danog\MadelineProto\LocalFile|\Amp\ByteStream\WritableStream $file): void
{
$this->wrapper->getAPI()->callSetOutput($id, $file);
}
/**
* Whether we can convert any audio/video file to a VoIP OGG OPUS file, or the files must be preconverted using @libtgvoipbot.
*/