Package it.tdlight.jni
Class TdApi.AnswerPreCheckoutQuery
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.AnswerPreCheckoutQuery
- Enclosing class:
- TdApi
public static class TdApi.AnswerPreCheckoutQuery extends TdApi.Function
Sets the result of a pre-checkout
query; for bots only.
Returns Ok
-
Field Summary
Fields Modifier and Type Field Description static int
CONSTRUCTOR
String
errorMessage
An error message, empty on success.long
preCheckoutQueryId
Identifier of the pre-checkout query. -
Constructor Summary
Constructors Constructor Description AnswerPreCheckoutQuery()
Sets 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)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
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:
- Constant Field Values
-
-
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
- 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()
-