public static class TdApi.AnswerPreCheckoutQuery extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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() |
toString
public 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()
getConstructor
in class TdApi.Function