Package org.drinkless.tdlib
Class TdApi.CallbackQueryAnswer
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.CallbackQueryAnswer
-
- Enclosing class:
- TdApi
public static class TdApi.CallbackQueryAnswer extends TdApi.Object
Contains a bot's answer to a callback query.
-
-
Constructor Summary
Constructors Constructor Description CallbackQueryAnswer()Contains a bot's answer to a callback query.CallbackQueryAnswer(String text, boolean showAlert, String url)Contains a bot's answer to a callback query.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
text
public String text
Text of the answer.
-
showAlert
public boolean showAlert
True, if an alert must be shown to the user instead of a toast notification.
-
url
public String url
URL to be opened.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-