# inputWebDocument

> The document

[Back to constructors index](/API_docs/constructors/index.html)



The document

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|url|[string](/API_docs/types/string.html) | Yes|Remote document URL to be downloaded using the appropriate [method](https://core.telegram.org/api/files)|
|size|[int](/API_docs/types/int.html) | Yes|Remote file size|
|mime\_type|[string](/API_docs/types/string.html) | Yes|Mime type|
|attributes|Array of [DocumentAttribute](/API_docs/types/DocumentAttribute.html) | Yes|Attributes for media types|



### Type: [InputWebDocument](/API_docs/types/InputWebDocument.html)


### Example:

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