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|
|
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
|
|
|
|file\_name|[string](../types/string.md) | Required|
|
2017-01-02 19:50:37 +01:00
|
|
|
|mime\_type|[string](../types/string.md) | Required|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Type: [InputMedia](../types/InputMedia.md)
|
|
|
|
|
|
|
|
|
|
|
|
### Example:
|
|
|
|
|
|
|
|
```
|
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
|
|
|
$inputMediaUploadedDocument = ['_' => 'inputMediaUploadedDocument', 'file' => InputFile, 'file_name' => string, 'mime_type' => string, ];
|
|
|
|
```
|
|
|
|
|