Link Search Menu Expand Document

Constructor: webDocument

Back to constructors index

Remote document

Attributes:

NameTypeRequiredDescription
urlstringYesDocument URL
access_hashlongYesAccess hash
sizeintYesFile size
mime_typestringYesMIME type
attributesArray of DocumentAttributeYesAttributes for media types

Type: WebDocument

Example:

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