Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 23, 2019
1 parent 7a17668 commit 02967b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/FILES.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ $info = yield $MadelineProto->get_download_info($MessageMedia);
$info = yield $MadelineProto->get_propic_info($Update);
```

`$Update` can be a [Message](https://docs.madelineproto.xyz/API_docs/types/Message.html) object, an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html), or any value supported by [getInfo](https://docs.madelineproto.xyz/get_full_info.html).
`$Update` can be a [Message](https://docs.madelineproto.xyz/API_docs/types/Message.html) object, an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html), or any value supported by [getInfo](https://docs.madelineproto.xyz/get_info.html).
The result (which is in the same format as `get_download_info`) should the be passed to the download functions in order to download the profile picture.

* `$info['ext']` - The file extension
Expand Down Expand Up @@ -447,4 +447,4 @@ $output_file_name = yield $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>

0 comments on commit 02967b3

Please sign in to comment.