Layer 220
InputBotInlineResultPhoto
Photo
constructor
inputBotInlineResultPhoto#a8d864a7 id:string type:string photo:InputPhoto send_message:InputBotInlineMessage = InputBotInlineResult;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | Result ID |
| Type | string | Result type (see bot API docs ) |
| Photo | InputPhoto | Photo to send |
| SendMessage | InputBotInlineMessage | Message to send when the result is selected |
Returns
InputBotInlineResultGogram Example
// Creating InputBotInlineResultPhoto constructor obj := &tg.InputBotInlineResultPhoto{ Id: "...", Type: "...", Photo: &tg.InputPhoto{ID: int64(0), AccessHash: int64(0), FileReference: []byte{}}, SendMessage: &tg.InputBotInlineMessageText{}, }