MadelineProto/docs/API_docs/constructors/inputMediaPhoto.md

19 lines
397 B
Markdown
Raw Normal View History

## Constructor: inputMediaPhoto
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[InputPhoto](../types/InputPhoto.md) | Required|
|caption|[string](../types/string.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [InputMedia](../types/InputMedia.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$inputMediaPhoto = ['_' => inputMediaPhoto', 'id' => InputPhoto, 'caption' => string, ];
```