Interface InputInlineMessageMedia

Inline message containing media, which is automatically inferred from the result itself.

interface InputInlineMessageMedia {
    invertMedia?: boolean;
    replyMarkup?: ReplyMarkup;
    text?: InputText;
    type: "media";
}

Properties

invertMedia?: boolean

Whether to invert media position.

Currently only supported for web previews and makes the client render the preview above the caption and not below.

replyMarkup?: ReplyMarkup

Message reply markup

text?: InputText

Caption for the media

type: "media"