Constructor: webDocument
Remote document
Attributes:
Name | Type | Required | Description |
---|---|---|---|
url | string | Yes | Document URL |
access_hash | long | Yes | Access hash |
size | int | Yes | File size |
mime_type | string | Yes | MIME type |
attributes | Array of DocumentAttribute | Yes | Attributes for media types |
Type: WebDocument
Example:
$webDocument = ['_' => 'webDocument', 'url' => 'string', 'access_hash' => long, 'size' => int, 'mime_type' => 'string', 'attributes' => [DocumentAttribute, DocumentAttribute]];