mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2025-01-22 05:41:46 +01:00
1.0 KiB
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
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];