Raw.InputBotInlineResult
An inline bot result
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;
export namespace Raw {
export class InputBotInlineResult {
constructor(params: {
id: string;
type: string;
title?: string;
description?: string;
url?: string;
thumb?: Raw.TypeInputWebDocument;
content?: Raw.TypeInputWebDocument;
sendMessage: Raw.TypeInputBotInlineMessage;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x88bf9319
Property
id
: stringId of result
type
: stringResult type (see bot api docs)
title
: string or undefinedResult title
description
: string or undefinedResult description
url
: string or undefinedUrl of result
thumb
: Raw.TypeInputWebDocument or undefinedThumbnail for result
content
: Raw.TypeInputWebDocument or undefinedResult contents
sendMessage
: Raw.TypeInputBotInlineMessageMessage to send when the result is selected