MessageActionStarGiftPurchaseOffer#

class pyrogram.raw.types.MessageActionStarGiftPurchaseOffer#

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

Constructor of MessageAction.

Details:
  • Layer: 225

  • ID: 774278D4

Parameters:
  • gift (StarGift) – The collectible gift the offer is about.

  • price (StarsAmount) – Offered price.

  • expires_at (int 32-bit) – 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.

  • accepted (bool, optional) – If set, the gift owner accepted this offer.

  • declined (bool, optional) – If set, the gift owner declined this offer.