Link Search Menu Expand Document

Constructor: webDocumentNoProxy

Back to constructors index

Remote document that can be downloaded without proxying through telegram

Attributes:

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

Type: WebDocument

Example:

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