Interface PushMessageContentPaidMedia

A message with paid media. Subtype of PushMessageContent.

interface PushMessageContentPaidMedia {
    @type: "pushMessageContentPaidMedia";
    is_pinned?: boolean;
    star_count: number;
}

Properties

@type: "pushMessageContentPaidMedia"
is_pinned?: boolean

True, if the message is a pinned message with the specified content.

star_count: number

Number of Telegram Stars needed to buy access to the media in the message; 0 for pinned message.