Class TdApi.MessageUpgradedGiftPurchaseOfferRejected

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageUpgradedGiftPurchaseOfferRejected
Enclosing class:
TdApi

public static class TdApi.MessageUpgradedGiftPurchaseOfferRejected extends TdApi.MessageContent
An offer to purchase a gift was rejected or expired.
  • Field Details

    • gift

      public TdApi.UpgradedGift gift
      The gift.
    • price

      public TdApi.GiftResalePrice price
      The proposed price.
    • offerMessageId

      public long offerMessageId
      Identifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message.
    • wasExpired

      public boolean wasExpired
      True, if the offer has expired; otherwise, the offer was explicitly rejected.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • MessageUpgradedGiftPurchaseOfferRejected

      public MessageUpgradedGiftPurchaseOfferRejected()
      An offer to purchase a gift was rejected or expired.
    • MessageUpgradedGiftPurchaseOfferRejected

      public MessageUpgradedGiftPurchaseOfferRejected(TdApi.UpgradedGift gift, TdApi.GiftResalePrice price, long offerMessageId, boolean wasExpired)
      An offer to purchase a gift was rejected or expired.
      Parameters:
      gift - The gift.
      price - The proposed price.
      offerMessageId - Identifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message.
      wasExpired - True, if the offer has expired; otherwise, the offer was explicitly rejected.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR