Layer 224
constructor
inputPhotoLegacyFileLocation#d83466f3 id:long access_hash:long file_reference:bytes volume_id:long local_id:int secret:long = InputFileLocation;

Parameters

Name Type Description
Id long Photo ID
AccessHash long Access hash
FileReference bytes File reference
VolumeId long Volume ID
LocalId int Local ID
Secret long Secret

Gogram Example

// Creating InputPhotoLegacyFileLocation constructor
obj := &tg.InputPhotoLegacyFileLocation{
    Id: int64(1234567890),
    AccessHash: int64(1234567890),
    FileReference: []byte{0x01, 0x02, 0x03},
    VolumeId: int64(1234567890),
    LocalId: 42,
    Secret: int64(1234567890),
}