MadelineProto/old_docs/API_docs_v18/constructors/inputMediaPhoto.md

27 lines
461 B
Markdown
Raw Normal View History

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