Link Search Menu Expand Document

Constructor: inputPeerPhotoFileLocation

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
bigBoolOptionalWhether to download the high-quality version of the picture
peerUsername, chat ID, Update, Message or InputPeerOptionalThe peer whose profile picture should be downloaded
photo_idlongYesPhoto ID

Type: InputFileLocation

Example:

$inputPeerPhotoFileLocation = ['_' => 'inputPeerPhotoFileLocation', 'big' => Bool, 'peer' => InputPeer, 'photo_id' => long];