Layer 224
InputPhotoObj
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 InputPhotoObj constructor obj := &tg.InputPhotoObj{ Id: int64(1234567890), AccessHash: int64(1234567890), FileReference: []byte{0x01, 0x02, 0x03}, }