# inputPhoto

Defines a photo for further interaction.

```tl
inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto;
```

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **id** | [long](/type/long.md) | Photo identifier |
| **access\_hash** | [long](/type/long.md) | **access\_hash** value from the [photo](/constructor/photo.md) constructor |
| **file\_reference** | [bytes](/type/bytes.md) | [File reference](/api/file-references.md) |

### Type
[InputPhoto](/type/InputPhoto.md)

### Related pages

#### [photo](/constructor/photo.md)
Photo

#### [File references](/api/file-references.md)
How to handle file references.