Raw.BotInlineMediaResult
Media result
botInlineMediaResult#17db940b flags:# id:string type:string photo:flags.0?Photo document:flags.1?Document title:flags.2?string description:flags.3?string send_message:BotInlineMessage = BotInlineResult;
export namespace Raw {
export class BotInlineMediaResult {
constructor(params: {
id: string;
type: string;
photo?: Raw.TypePhoto;
document?: Raw.TypeDocument;
title?: string;
description?: string;
sendMessage: Raw.TypeBotInlineMessage;
}) {}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0x17db940b
Property
id
: stringResult id
type
: stringResult type (see bot api docs)
photo
: Raw.TypePhoto or undefinedIf type is photo, the photo to send
document
: Raw.TypeDocument or undefinedIf type is document, the document to send
title
: string or undefinedResult title
description
: string or undefinedDescription
sendMessage
: Raw.TypeBotInlineMessageDepending on the type and on the constructor, contains the caption of the media or the content of the message to be sent instead of the media