Layer 227
MessageActionStarGiftPurchaseOfferDeclined
A collectible gift purchase offer was declined, or the offer expired, see here for the full flow.
constructor
messageActionStarGiftPurchaseOfferDeclined#73ada76b flags:# expired:flags.0?true gift:StarGift price:StarsAmount = MessageAction;
Parameters
| Name | Type | Description |
|---|---|---|
| Expired | flags .0? true | If set, the owner didn't act before the message Action Star Gift Purchase Offer. expires_at deadline and the offer expired automatically; otherwise, the owner explicitly declined the offer. |
| Gift | StarGift | The collectible gift the declined or expired offer was about. |
| Price | StarsAmount | Offered price that is refunded automatically to the buyer. |
Returns
MessageActionGogram Example
// Creating MessageActionStarGiftPurchaseOfferDeclined constructor obj := &tg.MessageActionStarGiftPurchaseOfferDeclined{ Expired: nil, Gift: &tg.StarGift{}, Price: &tg.StarsAmount{}, }