Package org.drinkless.tdlib
Class TdApi.MessageUpgradedGiftPurchaseOffer
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageUpgradedGiftPurchaseOffer
- Enclosing class:
- TdApi
An offer to purchase an upgraded gift was sent or received.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.intPoint in time (Unix timestamp) when the offer will expire or has expired.The gift.The proposed price.State of the offer. -
Constructor Summary
ConstructorsConstructorDescriptionAn offer to purchase an upgraded gift was sent or received.MessageUpgradedGiftPurchaseOffer(TdApi.UpgradedGift gift, TdApi.GiftPurchaseOfferState state, TdApi.GiftResalePrice price, int expirationDate) An offer to purchase an upgraded gift was sent or received. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
gift
The gift. -
state
State of the offer. -
price
The proposed price. -
expirationDate
public int expirationDatePoint in time (Unix timestamp) when the offer will expire or has expired. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageUpgradedGiftPurchaseOffer
public MessageUpgradedGiftPurchaseOffer()An offer to purchase an upgraded gift was sent or received. -
MessageUpgradedGiftPurchaseOffer
public MessageUpgradedGiftPurchaseOffer(TdApi.UpgradedGift gift, TdApi.GiftPurchaseOfferState state, TdApi.GiftResalePrice price, int expirationDate) An offer to purchase an upgraded gift was sent or received.- Parameters:
gift- The gift.state- State of the offer.price- The proposed price.expirationDate- Point in time (Unix timestamp) when the offer will expire or has expired.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-