Link Search Menu Expand Document

Constructor: inputWebDocument

Back to constructors index

The document

Attributes:

NameTypeRequiredDescription
urlstringYesRemote document URL to be downloaded using the appropriate method
sizeintYesRemote file size
mime_typestringYesMime type
attributesArray of DocumentAttributeYesAttributes for media types

Type: InputWebDocument

Example:

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