---
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, ];
```