MadelineProtoDocs/old_docs/API_docs_v81/constructors/webDocumentNoProxy.md
2019-12-27 17:48:04 +01:00

1.2 KiB

title description image
webDocumentNoProxy Remote document that can be downloaded without [proxying through telegram](https://core.telegram.org/api/files) https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: webDocumentNoProxy

Back to constructors index

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

Type: WebDocument

Example:

$webDocumentNoProxy = ['_' => 'webDocumentNoProxy', 'url' => 'string', 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];

Or, if you're into Lua:

webDocumentNoProxy={_='webDocumentNoProxy', url='string', size=int, mime_type='string', attributes={DocumentAttribute}}