Skip to main content

messageActionStarGiftPurchaseOffer

Contains an offer to purchase a collectible gift », see here » for the full flow.

type tg.MessageActionStarGiftPurchaseOffer struct { /* ... */ }

Implements MessageAction.

Fields​

NameTypeRequiredDescription
Acceptedbool—If set, the gift owner accepted this offer.
Declinedbool—If set, the gift owner declined this offer.
GiftStarGiftClassyesThe collectible gift the offer is about.
PriceStarsAmountClassyesOffered price.
ExpiresAtintyesOffer expiration date (UNIX timestamp): if the owner doesn't act before this date, the offer will expire and the buyer will be refunded automatically.

References​