Interface PushMessageContentUpgradedGift

A message with an upgraded gift. Subtype of PushMessageContent.

interface PushMessageContentUpgradedGift {
    @type: "pushMessageContentUpgradedGift";
    is_prepaid_upgrade?: boolean;
    is_upgrade?: boolean;
}

Properties

@type: "pushMessageContentUpgradedGift"
is_prepaid_upgrade?: boolean

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

is_upgrade?: boolean

True, if the gift was obtained by upgrading of a previously received gift; otherwise, if is_prepaid_upgrade == false, then this is a transferred or resold gift.