Package org.drinkless.tdlib
Class TdApi.KeyboardButtonSourceWebApp
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.KeyboardButtonSource
org.drinkless.tdlib.TdApi.KeyboardButtonSourceWebApp
- Enclosing class:
TdApi
The button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.KeyboardButtonSource
TdApi.KeyboardButtonSource.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the bot that created the button.static final intIdentifier uniquely determining type of the object.Identifier of the prepared button. -
Constructor Summary
ConstructorsConstructorDescriptionThe button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton.KeyboardButtonSourceWebApp(long botUserId, String preparedButtonId) The button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
Field Details
-
botUserId
public long botUserIdIdentifier of the bot that created the button. -
preparedButtonId
Identifier of the prepared button. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
KeyboardButtonSourceWebApp
public KeyboardButtonSourceWebApp()The button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton. -
KeyboardButtonSourceWebApp
The button is a prepared keyboard button from a Mini App received via getPreparedKeyboardButton.- Parameters:
botUserId- Identifier of the bot that created the button.preparedButtonId- Identifier of the prepared button.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.KeyboardButtonSource- Returns:
- this.CONSTRUCTOR
-