- Enclosing class:
- TdApi
Sets the result of a pre-checkout
query; for bots only.
Returns Ok
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
An error message, empty on success.long
Identifier of the pre-checkout query. -
Constructor Summary
ConstructorDescriptionSets the result of a pre-checkout query; for bots only.AnswerPreCheckoutQuery
(long preCheckoutQueryId, String errorMessage) Sets the result of a pre-checkout query; for bots only.AnswerPreCheckoutQuery
(DataInput input) Sets the result of a pre-checkout query; for bots only. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
preCheckoutQueryId
public long preCheckoutQueryIdIdentifier of the pre-checkout query. -
errorMessage
An error message, empty on success. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
AnswerPreCheckoutQuery
public AnswerPreCheckoutQuery()Sets the result of a pre-checkout query; for bots only.Returns
Ok
-
AnswerPreCheckoutQuery
Sets the result of a pre-checkout query; for bots only.Returns
Ok
- Parameters:
preCheckoutQueryId
- long Identifier of the pre-checkout query.errorMessage
- String An error message, empty on success.
-
AnswerPreCheckoutQuery
Sets the result of a pre-checkout query; for bots only.Returns
Ok
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-