Method: request_secret_chat


Name Type
id A username, a bot API chat id, a tg-cli chat id, a User, an InputPeer, an InputUser, a Peer

Return type: \danog\MadelineProto\VoIP object

Returns the call


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

if (!file_exists('input.raw')) {
    echo 'Downloading example song'.PHP_EOL;
    copy('', 'input.raw');
$call = $MadelineProto->request_call('@danogentili');
This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.