A star gift was sent

interface ActionStarGiftSent {
    canUpgrade: boolean;
    converted: boolean;
    convertStars: Long;
    gift: StarGift;
    message: null | TextWithEntities;
    nameHidden: boolean;
    prepaidUpgradeHash?: string;
    refunded: boolean;
    saved: boolean;
    savedId?: Long;
    type: "star_gift_sent";
    upgraded: boolean;
    upgradeMsgId: null | number;
    upgradeStars: Long;
}

Properties

canUpgrade: boolean

Whether this gift can be upgraded to a unique gift

converted: boolean

Whether this gift was converted to stars

convertStars: Long

Amount of stars the gift can be converted to by the recipient (0 if the gift cannot be converted)

gift: StarGift

The gift itself

message: null | TextWithEntities

Message attached to the gift

nameHidden: boolean

Whether the sender chose to send the gift anonymously

prepaidUpgradeHash?: string

If available, you can pay for this gift's upgrade by passing this hash to prepayStarGiftUpgrade

refunded: boolean

Whether this gift was refunded

saved: boolean

Whether this gift was saved to the recipient's profile

savedId?: Long

ID of the related saved profile gift

type: "star_gift_sent"
upgraded: boolean

Whether this gift was upgraded to a unique gift

upgradeMsgId: null | number

If the gift was upgraded, ID of the message where this happened

upgradeStars: Long

Number of stars to upgrade the gift to a unique gift (may be 0)