MadelineProtoDocs/old_docs/API_docs_v89/constructors/inputChatUploadedPhoto.md

39 lines
717 B
Markdown
Raw Normal View History

2018-12-26 02:56:50 +01:00
---
title: inputChatUploadedPhoto
description: Chat uploaded photo
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputChatUploadedPhoto
[Back to constructors index](index.md)
Chat uploaded photo
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|file|[File path or InputFile](../types/InputFile.md) | Yes|File|
### Type: [InputChatPhoto](../types/InputChatPhoto.md)
### Example:
```php
$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile];
```
Or, if you're into Lua:
```lua
inputChatUploadedPhoto={_='inputChatUploadedPhoto', file=InputFile}
```