Layer 227
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

MessageAction

Gogram Example

// Creating MessageActionStarGiftPurchaseOfferDeclined constructor
obj := &tg.MessageActionStarGiftPurchaseOfferDeclined{
    Expired: nil,
    Gift: &tg.StarGift{},
    Price: &tg.StarsAmount{},
}