Package org.drinkless.tdlib
Class TdApi.InlineKeyboardButtonTypeCallback
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonType
-
- org.drinkless.tdlib.TdApi.InlineKeyboardButtonTypeCallback
-
- Enclosing class:
- TdApi
public static class TdApi.InlineKeyboardButtonTypeCallback extends TdApi.InlineKeyboardButtonType
A button that sends a callback query to a bot.
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRUCTORIdentifier uniquely determining type of the object.byte[]dataData to be sent to the bot via a callback query.
-
Constructor Summary
Constructors Constructor Description InlineKeyboardButtonTypeCallback()A button that sends a callback query to a bot.InlineKeyboardButtonTypeCallback(byte[] data)A button that sends a callback query to a bot.
-
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
-
data
public byte[] data
Data to be sent to the bot via a callback query.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InlineKeyboardButtonTypeCallback
public InlineKeyboardButtonTypeCallback()
A button that sends a callback query to a bot.
-
InlineKeyboardButtonTypeCallback
public InlineKeyboardButtonTypeCallback(byte[] data)
A button that sends a callback query to a bot.- Parameters:
data- Data to be sent to the bot via a callback query.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-