Layer 220
constructor
inputPhoto#3bb3b94a id:long access_hash:long file_reference:bytes = InputPhoto;

Parameters

Name Type Description
Id long Photo identifier
AccessHash long access_hash value from the photo constructor
FileReference bytes File reference

Returns

InputPhoto

Gogram Example

// Creating InputPhoto constructor
obj := &tg.InputPhoto{
    Id: int64(0),
    AccessHash: int64(0),
    FileReference: []byte{},
}