MadelineProto/old_docs/API_docs_v42/constructors/inputChatPhoto.md

28 lines
553 B
Markdown
Raw Normal View History

---
title: inputChatPhoto
description: inputChatPhoto attributes, type and example
---
## Constructor: inputChatPhoto
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[InputPhoto](../types/InputPhoto.md) | Required|
|crop|[InputPhotoCrop](../types/InputPhotoCrop.md) | Required|
### Type: [InputChatPhoto](../types/InputChatPhoto.md)
### Example:
```
$inputChatPhoto = ['_' => 'inputChatPhoto', 'id' => InputPhoto, 'crop' => InputPhotoCrop, ];
```