MadelineProto/old_docs/API_docs_v45/constructors/inputChatUploadedPhoto.md

28 lines
594 B
Markdown
Raw Normal View History

---
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) | Required|
|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required|
### Type: [InputChatPhoto](../types/InputChatPhoto.md)
### Example:
```
$inputChatUploadedPhoto = ['_' => 'inputChatUploadedPhoto', 'file' => InputFile, 'crop' => InputPhotoCrop, ];
```