MadelineProto/old_docs/API_docs_v33/constructors/inputPhoto.md

28 lines
492 B
Markdown
Raw Normal View History

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