Update FILES.md
This commit is contained in:
parent
1554397b68
commit
b21afc592a
@ -377,7 +377,7 @@ $sentMessage = $MadelineProto->messages->sendMedia([
|
||||
$output_file_name = $MadelineProto->download_to_file(
|
||||
$sentMessage,
|
||||
new \danog\MadelineProto\FileCallback(
|
||||
'/tmp/myname.mp4'
|
||||
'/tmp/myname.mp4',
|
||||
function ($progress) use ($MadelineProto, $peer) {
|
||||
$MadelineProto->messages->sendMessage(['peer' => $peer, 'message' => 'Download progress: '.$progress.'%']);
|
||||
}
|
||||
@ -431,4 +431,4 @@ $output_file_name = $MadelineProto->download_to_file(
|
||||
);
|
||||
```
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/CHAT_INFO.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/CHAT_INFO.html">Next section</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user