Interface PushMessageContentGift

A message with a gift. Subtype of PushMessageContent.

interface PushMessageContentGift {
    @type: "pushMessageContentGift";
    is_prepaid_upgrade?: boolean;
    star_count: number;
}

Properties

@type: "pushMessageContentGift"
is_prepaid_upgrade?: boolean

True, if the message is about prepaid upgrade of the gift by another user instead of actual receiving of a new gift.

star_count: number

Number of Telegram Stars that sender paid for the gift.