Layer 220
InputPhoto
Defines a photo for further interaction.
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
InputPhotoGogram Example
// Creating InputPhoto constructor obj := &tg.InputPhoto{ Id: int64(0), AccessHash: int64(0), FileReference: []byte{}, }