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