Update CALLS.md

This commit is contained in:
Daniil Gentili 2019-04-02 19:13:29 +02:00 committed by GitHub
parent ee7efaecb6
commit 4b43d5fa46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,7 @@ If you manually set the network type to `NET_TYPE_GPRS`, `NET_TYPE_EDGE`, or ena
Requesting calls is easy, just run the `request_call` method.
```php
$controller = $MadelineProto->request_call('@danogentili')->play('input.raw')->then('inputb.raw')->playOhHold(['hold.raw'])->setOutputFile('output.raw');
$controller = $MadelineProto->request_call('@danogentili')->play('input.raw')->then('inputb.raw')->playOnHold(['hold.raw'])->setOutputFile('output.raw');
$controller->configuration['log_file_path'] = $controller->getOtherID().'.log';
// We need to receive updates in order to know that the other use accepted the call
@ -125,4 +125,4 @@ while (true) {
}
```
<a href="https://docs.madelineproto.xyz/docs/FILES.html">Next section</a>
<a href="https://docs.madelineproto.xyz/docs/FILES.html">Next section</a>