messageActionStarGiftPurchaseOffer
Contains an offer to purchase a collectible gift », see here » for the full flow.
type tg.MessageActionStarGiftPurchaseOffer struct { /* ... */ }
Implements MessageAction.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
Accepted | bool | — | If set, the gift owner accepted this offer. |
Declined | bool | — | If set, the gift owner declined this offer. |
Gift | StarGiftClass | yes | The collectible gift the offer is about. |
Price | StarsAmountClass | yes | Offered price. |
ExpiresAt | int | yes | Offer 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
- Official documentation
- Generated Go reference
- TL definition:
messageActionStarGiftPurchaseOffer#774278d4