Package org.drinkless.tdlib
Class TdApi.MessageUpgradedGiftPurchaseOfferRejected
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageUpgradedGiftPurchaseOfferRejected
- Enclosing class:
- TdApi
An offer to purchase a gift was rejected or expired.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.The gift.longIdentifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message.The proposed price.booleanTrue, if the offer has expired; otherwise, the offer was explicitly rejected. -
Constructor Summary
ConstructorsConstructorDescriptionAn offer to purchase a gift was rejected or expired.MessageUpgradedGiftPurchaseOfferRejected(TdApi.UpgradedGift gift, TdApi.GiftResalePrice price, long offerMessageId, boolean wasExpired) An offer to purchase a gift was rejected or expired. -
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. -
price
The proposed price. -
offerMessageId
public long offerMessageIdIdentifier of the message with purchase offer which was rejected or expired; may be 0 or an identifier of a deleted message. -
wasExpired
public boolean wasExpiredTrue, if the offer has expired; otherwise, the offer was explicitly rejected. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier 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.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-