Constructor: webDocument

Back to constructors index

Web document


Name Type Required Description
url string Yes URL
access_hash long Yes Access hash
size int Yes Size
mime_type string Yes Mime type
attributes Array of DocumentAttribute Yes Attributes

Type: WebDocument


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

Or, if you’re into Lua:

webDocument={_='webDocument', url='string', access_hash=long, 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.