MadelineProtoDocs/docs/API_docs/constructors/inputPeerPhotoFileLocation.md
2019-12-27 17:48:04 +01:00

42 lines
1.3 KiB
Markdown

---
title: inputPeerPhotoFileLocation
description: Location of profile photo of channel/group/supergroup/user
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: inputPeerPhotoFileLocation
[Back to constructors index](index.md)
Location of profile photo of channel/group/supergroup/user
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|big|[Bool](../types/Bool.md) | Optional|Whether to download the high-quality version of the picture|
|peer|[Username, chat ID, Update, Message or InputPeer](../types/InputPeer.md) | Optional|The peer whose profile picture should be downloaded|
|volume\_id|[long](../types/long.md) | Yes|Volume ID from [FileLocation](../types/FileLocation.md) met in the profile photo container.|
|local\_id|[int](../types/int.md) | Yes|Local ID from [FileLocation](../types/FileLocation.md) met in the profile photo container.|
### Type: [InputFileLocation](../types/InputFileLocation.md)
### Example:
```php
$inputPeerPhotoFileLocation = ['_' => 'inputPeerPhotoFileLocation', 'big' => Bool, 'peer' => InputPeer, 'volume_id' => long, 'local_id' => int];
```
Or, if you're into Lua:
```lua
inputPeerPhotoFileLocation={_='inputPeerPhotoFileLocation', big=Bool, peer=InputPeer, volume_id=long, local_id=int}
```