Layer 220
BotInlineResult
Generic result
constructor
botInlineResult#11965f3a flags:# id:string type:string title:flags.1?string description:flags.2?string url:flags.3?string thumb:flags.4?WebDocument content:flags.5?WebDocument send_message:BotInlineMessage = BotInlineResult;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Id | string | Result ID |
| 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 article or webpage |
| Thumb | flags.4?WebDocument | Thumbnail for the result |
| Content | flags.5?WebDocument | Content of the result |
| SendMessage | BotInlineMessage | Message to send |
Returns
BotInlineResultGogram Example
// Creating BotInlineResult constructor obj := &tg.BotInlineResult{ Id: "...", Type: "...", SendMessage: &tg.BotInlineMessage{}, // Optional fields: // Title: "...", // Description: "...", // Url: "...", // Thumb: &tg.WebDocument{}, // ... more optional fields }