Layer 227
InputRichFilePhoto
Input rich-message attachment referencing an existing photo by id.
constructor
inputRichFilePhoto#9b00622b id:string photo:InputPhoto = InputRichFile;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | |
| Photo | InputPhoto |
Returns
InputRichFileGogram Example
// Creating InputRichFilePhoto constructor obj := &tg.InputRichFilePhoto{ Id: "Hello, World!", Photo: &tg.InputPhoto{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}, }