UpgradedGiftPurchaseOffer

class pyrogram.types.UpgradedGiftPurchaseOffer

An offer to purchase an upgraded gift was sent or received.

Parameters:
  • gift (:obj:`~pyrogram.types.Gift`) – The gift.

  • state (:obj:`~pyrogram.enums.GiftPurchaseOfferState`) – State of the offer.

  • price (:obj:`~pyrogram.types.GiftResalePrice`) – The proposed price.

  • expiration_date (:py:obj:`~datetime.datetime`) – Date when the offer will expire or has expired.