Layer 220
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
Flags # Flags, see TL conditional fields
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

Gogram Example

// Creating InputBotInlineResult constructor
obj := &tg.InputBotInlineResult{
    Id: "...",
    Type: "...",
    SendMessage: &tg.InputBotInlineMessageText{},

    // Optional fields:
    // Title: "...",
    // Description: "...",
    // Url: "...",
    // Thumb: &tg.InputWebDocument{},
    // ... more optional fields
}