Package org.drinkless.tdlib
Class TdApi.ProcessGiftPurchaseOffer
- Enclosing class:
- TdApi
Handles a pending gift purchase offer.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanPass true to accept the request; pass false to reject it.static final intIdentifier uniquely determining type of the object.longIdentifier of the message with the gift purchase offer. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which handles a pending gift purchase offer.ProcessGiftPurchaseOffer(long messageId, boolean accept) Creates a function, which handles a pending gift purchase offer. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
messageId
public long messageIdIdentifier of the message with the gift purchase offer. -
accept
public boolean acceptPass true to accept the request; pass false to reject it. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
ProcessGiftPurchaseOffer
public ProcessGiftPurchaseOffer()Default constructor for a function, which handles a pending gift purchase offer.Returns
Ok -
ProcessGiftPurchaseOffer
public ProcessGiftPurchaseOffer(long messageId, boolean accept) Creates a function, which handles a pending gift purchase offer.Returns
Ok- Parameters:
messageId- Identifier of the message with the gift purchase offer.accept- Pass true to accept the request; pass false to reject it.
-
-
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
-