2019-06-23 13:07:51 +02:00
|
|
|
---
|
|
|
|
title: inputPeerPhotoFileLocation
|
2019-12-27 17:48:04 +01:00
|
|
|
description: Location of profile photo of channel/group/supergroup/user
|
2019-06-23 13:07:51 +02:00
|
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
|
|
---
|
|
|
|
# Constructor: inputPeerPhotoFileLocation
|
|
|
|
[Back to constructors index](index.md)
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-12-27 17:48:04 +01:00
|
|
|
Location of profile photo of channel/group/supergroup/user
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
### Attributes:
|
|
|
|
|
|
|
|
| Name | Type | Required | Description |
|
|
|
|
|----------|---------------|----------|-------------|
|
2019-12-27 17:48:04 +01:00
|
|
|
|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.|
|
2019-06-23 13:07:51 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### 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}
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|