Layer 220
constructor
inputPeerPhotoFileLocation#37257e99 flags:# big:flags.0?true peer:InputPeer photo_id:long = InputFileLocation;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Big flags.0?true Whether to download the high-quality version of the picture
Peer InputPeer The peer whose profile picture should be downloaded
PhotoId long Photo ID

Gogram Example

// Creating InputPeerPhotoFileLocation constructor
obj := &tg.InputPeerPhotoFileLocation{
    Peer: &tg.InputPeerUser{UserID: int64(123456789)},
    PhotoId: int64(0),

    // Optional fields:
    // Big: true,
}