A star gift was bought from a resale listing

interface ActionStarGiftBoughtResale {
    amount: TypeStarsAmount;
    canExportAt?: Date;
    canResellAt?: Date;
    canTransferAt?: Date;
    gift: StarGiftUnique;
    refunded: boolean;
    saved: boolean;
    savedId?: Long;
    type: "star_gift_bought_resale";
}

Hierarchy

  • StarGiftUniqueCommon
    • ActionStarGiftBoughtResale

Properties

Number of stars/TON that were paid for the gift

canExportAt?: Date

If the gift can be exported to blockchain, date when it will become available

canResellAt?: Date

If the gift can be re-sold, date when it will become available

canTransferAt?: Date

If the gift can be transferred, date when it will become available

The gift itself

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_bought_resale"