2017-01-02 19:50:37 +01:00
|
|
|
---
|
|
|
|
title: inputMediaUploadedDocument
|
|
|
|
description: inputMediaUploadedDocument attributes, type and example
|
|
|
|
---
|
|
|
|
## Constructor: inputMediaUploadedDocument
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required |
|
|
|
|
|----------|:-------------:|---------:|
|
|
|
|
|file|[InputFile](../types/InputFile.md) | Required|
|
|
|
|
|mime\_type|[string](../types/string.md) | Required|
|
|
|
|
|attributes|Array of [DocumentAttribute](../types/DocumentAttribute.md) | Required|
|
|
|
|
|caption|[string](../types/string.md) | Required|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputMedia](../types/InputMedia.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
|
|
|
$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'mime_type' => string, 'attributes' => [Vector t], 'caption' => string, ];
|
Added docs for layer 18, 23, 25, 27, 33, 38, 40, 41, 42, 44, 45, 46, 51, 53, 55
2017-01-02 21:04:36 +01:00
|
|
|
```
|
|
|
|
|