mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
webDocumentNoProxy | Remote document that can be downloaded without proxying through telegram | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: webDocumentNoProxy
Remote document that can be downloaded without proxying through telegram
Attributes:
Name | Type | Required | Description |
---|---|---|---|
url | string | Yes | Document URL |
size | int | Yes | File size |
mime_type | string | Yes | MIME type |
attributes | Array of DocumentAttribute | Yes | Attributes for media types |
Type: WebDocument
Example:
$webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];