Skip to content

MessagePaidMedia

Type · TDLib 1.8.67 · d1085f9c

A message with paid media

MessagePaidMedia(
  star_count: int53,
  media: list of PaidMedia,
  caption: FormattedText,
  show_caption_above_media: Bool
) → MessageContent

star_count

int53

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

media

list of PaidMedia

Information about the media

caption

FormattedText

Media caption

show_caption_above_media

Bool

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