Layer 220
InputPhotoFileLocation
Use this object to download a photo with upload. get File method
constructor
inputPhotoFileLocation#40181ffe id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | long | Photo ID, obtained from the photo object |
| AccessHash | long | Photo's access hash, obtained from the photo object |
| FileReference | bytes | File reference |
| ThumbSize | string | The Photo Size to download: must be set to the type field of the desired Photo Size object of the photo |
Returns
InputFileLocationGogram Example
// Creating InputPhotoFileLocation constructor obj := &tg.InputPhotoFileLocation{ Id: int64(0), AccessHash: int64(0), FileReference: []byte{}, ThumbSize: "...", }