Package org.drinkless.tdlib
Class TdApi.KeyboardButtonSourceMessage
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.KeyboardButtonSource
org.drinkless.tdlib.TdApi.KeyboardButtonSourceMessage
- Enclosing class:
TdApi
The button is from a bot's message.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.KeyboardButtonSource
TdApi.KeyboardButtonSource.Constructors -
Field Summary
FieldsModifier and TypeFieldDescriptionlongIdentifier of the chat with the message.static final intIdentifier uniquely determining type of the object.longIdentifier of the message with the button. -
Constructor Summary
ConstructorsConstructorDescriptionThe button is from a bot's message.KeyboardButtonSourceMessage(long chatId, long messageId) The button is from a bot's message. -
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
-
chatId
public long chatIdIdentifier of the chat with the message. -
messageId
public long messageIdIdentifier of the message with the button. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
KeyboardButtonSourceMessage
public KeyboardButtonSourceMessage()The button is from a bot's message. -
KeyboardButtonSourceMessage
public KeyboardButtonSourceMessage(long chatId, long messageId) The button is from a bot's message.- Parameters:
chatId- Identifier of the chat with the message.messageId- Identifier of the message with the 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
-