public static class TdApi.AnswerPreCheckoutQuery extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
errorMessage
An error message, empty on success.
|
long |
preCheckoutQueryId
Identifier of the pre-checkout query.
|
| Constructor and Description |
|---|
AnswerPreCheckoutQuery()
Default constructor for a function, which sets the result of a pre-checkout query; for bots only.
|
AnswerPreCheckoutQuery(long preCheckoutQueryId,
java.lang.String errorMessage)
Creates a function, which sets the result of a pre-checkout query; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long preCheckoutQueryId
public java.lang.String errorMessage
public static final int CONSTRUCTOR
public AnswerPreCheckoutQuery()
Returns Ok
public AnswerPreCheckoutQuery(long preCheckoutQueryId,
java.lang.String errorMessage)
Returns Ok
preCheckoutQueryId - Identifier of the pre-checkout query.errorMessage - An error message, empty on success.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object