diff --git a/docs/docs/CONTRIB.md b/docs/docs/CONTRIB.md index c51c2254..3c283d11 100644 --- a/docs/docs/CONTRIB.md +++ b/docs/docs/CONTRIB.md @@ -91,8 +91,8 @@ While writing this client, I looked at many projects for inspiration and help. H [Webogram](https://github.com/zhukov/webogram) -[Telethon](https://github.com/LonamiWebs/Telethon/) +Thanks to the devs that contributed to these projects, and to MadelineProto itself, MadelineProto is now an easy, well-written and complete MTProto client. -Thanks to the devs that contributed to these projects, MadelineProto is now an easy, well-written and complete MTProto client. +Thank you for using MadelineProto <3 Next section \ No newline at end of file diff --git a/docs/docs/FILES.md b/docs/docs/FILES.md index fae28309..bb128b0f 100644 --- a/docs/docs/FILES.md +++ b/docs/docs/FILES.md @@ -9,7 +9,8 @@ MadelineProto provides **fully parallelized** wrapper methods to upload and down Maximum file size is of 1.5 GB. - [Now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html) +Example bot: [`downloadRenameBot.php`](https://github.com/danog/MadelineProto/blob/master/examples/downloadRenameBot.php) - download files by URL and rename Telegram files using this async parallelized bot! + * [Bot API file IDs](#bot-api-file-ids) * [Uploading & sending files](#sending-files) @@ -38,7 +39,7 @@ Maximum file size is of 1.5 GB. To send photos and documents to someone, use the [$MadelineProto->messages->sendMedia](https://docs.madelineproto.xyz/API_docs/methods/messages.sendMedia.html) method, click on the link for more info. -All files will be uploaded **asynchronously and in parallel**, 3000 chunks at a time for maximum performance (this value can be tweaked in the [settings](https://docs.madelineproto.xyz/docs/SETTINGS.html)). +All files will be uploaded **asynchronously and in parallel**, 20 chunks at a time for maximum performance (this value can be tweaked in the [settings](https://docs.madelineproto.xyz/docs/SETTINGS.html)). The required `message` parameter is the caption: it can contain URLs, mentions, bold and italic text, thanks to the `parse_mode` parameter, that enables markdown or HTML parsing. @@ -197,7 +198,7 @@ The `file` can be a file name, a URL, or a file uploaded by someone else (can be You can also only upload a file, without actually sending it to anyone, storing only the file ID for later usage. -All files will be uploaded **asynchronously and in parallel**, 3000 chunks at a time for maximum performance (this value can be tweaked in the [settings](https://docs.madelineproto.xyz/docs/SETTINGS.html)). +All files will be uploaded **asynchronously and in parallel**, 20 chunks at a time for maximum performance (this value can be tweaked in the [settings](https://docs.madelineproto.xyz/docs/SETTINGS.html)). The [$MadelineProto->messages->uploadMedia](https://docs.madelineproto.xyz/API_docs/methods/messages_uploadMedia.html) function is a reduced version of the [$MadelineProto->messages->sendMedia](https://docs.madelineproto.xyz/API_docs/methods/messages_sendMedia.html), that requires only a `media` parameter, with the media to upload (on normal users, the `peer` field should be populated with `@me` or another value). diff --git a/docs/docs/SETTINGS.md b/docs/docs/SETTINGS.md index 915309c7..a6a0e4fe 100644 --- a/docs/docs/SETTINGS.md +++ b/docs/docs/SETTINGS.md @@ -343,10 +343,6 @@ Description: Default number of chunks for parallel download Default: `1024*1024` Description: Default part size for file download -### `$settings['download']['report_broken_media']` -Default: `true` -Description: Whether or not to automatically report undownloadable media to support -
## `$settings['msg_array_limit']`