messageActionStarGiftPurchaseOffer

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

messageActionStarGiftPurchaseOffer#774278d4 flags:# accepted:flags.0?true declined:flags.1?true gift:StarGift price:StarsAmount expires_at:int = MessageAction;

Parameters

Name Type Description
flags # Flags, see TL conditional fields
accepted flags.0?true If set, the gift owner accepted this offer.
declined flags.1?true If set, the gift owner declined this offer.
gift StarGift The collectible gift the offer is about.
price StarsAmount Offered price.
expires_at int 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.

Type

MessageAction

Related pages

Telegram Gifts

Users can send Gifts to their friends. The recipients of gifts can display them on their profile pages or turn them into Telegram Stars ». Telegram Stars can be used for many things, including supporting creators and buying services in mini apps.