Interface MessagePaidMedia

A message with paid media. Subtype of MessageContent.

interface MessagePaidMedia {
    @type: "messagePaidMedia";
    caption: FormattedText;
    media: PaidMedia[];
    show_caption_above_media?: boolean;
    star_count: number;
}

Properties

@type: "messagePaidMedia"
caption: FormattedText

Media caption.

media: PaidMedia[]

Information about the media.

show_caption_above_media?: boolean

True, if the caption must be shown above the media; otherwise, the caption must be shown below the media.

star_count: number

Number of Telegram Stars needed to buy access to the media in the message.