MadelineProtoDocs/docs/API_docs/constructors/inputPeerPhotoFileLocation.md
2024-05-01 14:53:46 +02:00

1.0 KiB

title description nav_exclude image
inputPeerPhotoFileLocation Location of profile photo of channel/group/supergroup/user true 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
photo_id long Yes Photo ID

Type: InputFileLocation

Example:

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