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

Parameters

Name Type Description
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(777000)},
    PhotoId: int64(1234567890),

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