InputPeerPhotoFileLocation
- class pyrogram.raw.types.InputPeerPhotoFileLocation
Location of profile photo of channel/group/supergroup/user
Constructor of
InputFileLocation.- Details:
Layer:
223ID:
37257E99
- Parameters:
peer (
InputPeer) – The peer whose profile picture should be downloadedphoto_id (
int64-bit) – Photo IDbig (
bool, optional) – Whether to download the high-quality version of the picture
TL Schema
inputPeerPhotoFileLocation#37257e99
flags:#
big:flags.0?true
peer:InputPeer
photo_id:long
= InputFileLocation
Parameter Tree
InputPeerPhotoFileLocation
├── big →
true (optional)├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ │ └── chat_id →
long│ ├──
InputPeerUser│ │ ├── user_id →
long│ │ └── access_hash →
long│ ├──
InputPeerChannel│ │ ├── channel_id →
long│ │ └── access_hash →
long│ ├──
InputPeerUserFromMessage│ │ ├── peer →
InputPeer│ │ │ ├──
InputPeerEmpty│ │ │ ├──
InputPeerSelf│ │ │ ├──
InputPeerChat│ │ │ ├──
InputPeerUser│ │ │ ├──
InputPeerChannel│ │ │ ├──
InputPeerUserFromMessage│ │ │ └──
InputPeerChannelFromMessage│ │ ├── msg_id →
int│ │ └── user_id →
long│ ├── peer →
InputPeer│ │ ├──
InputPeerEmpty│ │ ├──
InputPeerSelf│ │ ├──
InputPeerChat│ │ ├──
InputPeerUser│ │ ├──
InputPeerChannel│ │ ├──
InputPeerUserFromMessage│ │ └──
InputPeerChannelFromMessage│ ├── msg_id →
int│ └── channel_id →
long└── photo_id →
longExample
InputPeerPhotoFileLocation(
peer=await app.resolve_peer(chat_id),
photo_id=0,
)