Layer 228
InputBotInlineResultObj
An inline bot result
constructor
inputBotInlineResult#88bf9319 flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?InputWebDocument content:flags.5?InputWebDocument send_message:InputBotInlineMessage = InputBotInlineResult;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | string | ID of result |
| Type | string | Result type (see bot API docs ) |
| Title | flags .1? string | Result title |
| Description | flags .2? string | Result description |
| Url | flags .3? string | URL of result |
| Thumb | flags .4? InputWebDocument | Thumbnail for result |
| Content | flags .5? InputWebDocument | Result contents |
| SendMessage | InputBotInlineMessage | Message to send when the result is selected |
Returns
InputBotInlineResultGogram Example
// Creating InputBotInlineResultObj constructor obj := &tg.InputBotInlineResultObj{ Id: "example", Type: "example", Title: "Example", Description: "Example description", Url: "https://example.com", Thumb: nil, // ... more required fields }