Raw.InputBotInlineResultDocument
Document (media of any type except for photos)
inputBotInlineResultDocument#fff8fdc4 flags:# id:string type:string title:flags.1?string description:flags.2?string document:InputDocument send_message:InputBotInlineMessage = InputBotInlineResult;
export namespace Raw {
export class InputBotInlineResultDocument {
constructor(params: {
id: string;
type: string;
title?: string;
description?: string;
document: Raw.TypeInputDocument;
sendMessage: Raw.TypeInputBotInlineMessage;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xfff8fdc4
Property
id
: stringResult id
type
: stringResult type (see bot api docs)
title
: string or undefinedResult title
description
: string or undefinedResult description
document
: Raw.TypeInputDocumentDocument to send
sendMessage
: Raw.TypeInputBotInlineMessageMessage to send when the result is selected