1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-12 02:59:36 +01:00
MadelineProto/old_docs/API_docs_v25/constructors/inputMediaUploadedPhoto.md

43 lines
731 B
Markdown
Raw Normal View History

---
title: inputMediaUploadedPhoto
description: inputMediaUploadedPhoto attributes, type and example
---
## Constructor: inputMediaUploadedPhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|file|[InputFile](../types/InputFile.md) | Yes|
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
$inputMediaUploadedPhoto = ['_' => 'inputMediaUploadedPhoto', 'file' => InputFile, ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"inputMediaUploadedPhoto","file":"InputFile"}
```
Or, if you're into Lua:
```
inputMediaUploadedPhoto={_='inputMediaUploadedPhoto', file=InputFile, }
```