MadelineProtoDocs/docs/API_docs/constructors/webDocumentNoProxy.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

1.2 KiB

title description image
webDocumentNoProxy Web document no proxy https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: webDocumentNoProxy

Back to constructors index

Web document no proxy

Attributes:

Name Type Required Description
url string Yes URL
size int Yes 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]];

PWRTelegram json-encoded version:

{"_": "webDocumentNoProxy", "url": "string", "size": int, "mime_type": "string", "attributes": [DocumentAttribute]}

Or, if you're into Lua:

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