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}

This site uses cookies, as described in the cookie policy. By clicking on "Accept" you consent to the use of cookies.