MadelineProtoDocs/old_docs/API_docs_v38/constructors/inputPeerPhotoFileLocation.md
2020-06-16 17:50:25 +02:00

1.3 KiB

title description image
inputPeerPhotoFileLocation Location of profile photo of channel/group/supergroup/user https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: inputPeerPhotoFileLocation

Back to constructors index

Location of profile photo of channel/group/supergroup/user

Attributes:

Name Type Required Description
big Bool Optional Whether to download the high-quality version of the picture
peer Username, chat ID, Update, Message or InputPeer Optional The peer whose profile picture should be downloaded
volume_id long Yes Volume ID from FileLocation met in the profile photo container.
local_id int Yes Local ID from FileLocation met in the profile photo container.

Type: InputFileLocation

Example:

$inputPeerPhotoFileLocation = ['_' => 'inputPeerPhotoFileLocation', 'big' => Bool, 'peer' => InputPeer, 'volume_id' => long, 'local_id' => int];

Or, if you're into Lua:

inputPeerPhotoFileLocation={_='inputPeerPhotoFileLocation', big=Bool, peer=InputPeer, volume_id=long, local_id=int}