Constructor: webDocumentNoProxy

Back to constructors index

Remote document that can be downloaded without proxying through telegram


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


$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}}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.