1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-13 18:27:19 +01:00
MadelineProto/docs/API_docs/constructors/inputPhoto.md

26 lines
487 B
Markdown
Raw Normal View History

2016-12-20 13:15:22 +01:00
---
title: inputPhoto
2016-12-20 13:32:11 +01:00
description: inputPhoto attributes, type and example
2016-12-20 13:15:22 +01:00
---
## Constructor: inputPhoto
2016-12-20 13:15:22 +01:00
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|id|[long](../types/long.md) | Required|
|access\_hash|[long](../types/long.md) | Required|
2016-12-19 18:56:05 +01:00
### Type: [InputPhoto](../types/InputPhoto.md)
### Example:
```
2016-12-19 17:48:27 +01:00
$inputPhoto = ['_' => inputPhoto', 'id' => long, 'access_hash' => long, ];
```