messageActionStarGiftPurchaseOffer #

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

Layer 223

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

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
acceptedflags.0?trueIf set, the gift owner accepted this offer.
declinedflags.1?trueIf set, the gift owner declined this offer.
giftStarGiftThe collectible gift the offer is about.
priceStarsAmountOffered price.
expires_atintOffer 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

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.