MadelineProto/old_docs/API_docs_v18/constructors/inputMediaPhoto.md

27 lines
461 B
Markdown

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