Package org.drinkless.tdlib
Class TdApi.MessageChatShared
java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.MessageContent
org.drinkless.tdlib.TdApi.MessageChatShared
- Enclosing class:
- TdApi
The current user shared a chat, which was requested by the bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionintIdentifier of the keyboard button with the request.The shared chat.static final intIdentifier uniquely determining type of the object. -
Constructor Summary
ConstructorsConstructorDescriptionThe current user shared a chat, which was requested by the bot.MessageChatShared(TdApi.SharedChat chat, int buttonId) The current user shared a chat, which was requested by the bot. -
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
-
chat
The shared chat. -
buttonId
public int buttonIdIdentifier of the keyboard button with the request. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageChatShared
public MessageChatShared()The current user shared a chat, which was requested by the bot.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-