public static class TdApi.CallbackQueryAnswer extends TdApi.Object
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
showAlert
True, if an alert must be shown to the user instead of a toast notification.
|
java.lang.String |
text
Text of the answer.
|
java.lang.String |
url
URL to be opened.
|
Constructor and Description |
---|
CallbackQueryAnswer()
Contains a bot's answer to a callback query.
|
CallbackQueryAnswer(java.lang.String text,
boolean showAlert,
java.lang.String url)
Contains a bot's answer to a callback query.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public java.lang.String text
public boolean showAlert
public java.lang.String url
public static final int CONSTRUCTOR
public CallbackQueryAnswer()
public CallbackQueryAnswer(java.lang.String text, boolean showAlert, java.lang.String url)
text
- Text of the answer.showAlert
- True, if an alert must be shown to the user instead of a toast notification.url
- URL to be opened.public int getConstructor()
getConstructor
in class TdApi.Object