java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageChatShared
- Enclosing class:
- TdApi
The current user shared a chat, which
was requested by the bot.
-
Field Summary
Modifier and TypeFieldDescriptionint
Identifier of the keyboard button with the request.long
Identifier of the shared chat.static final int
-
Constructor Summary
ConstructorDescriptionThe current user shared a chat, which was requested by the bot.MessageChatShared
(long chatId, int buttonId) The current user shared a chat, which was requested by the bot.MessageChatShared
(DataInput input) The current user shared a chat, which was requested by the bot. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdIdentifier of the shared chat. -
buttonId
public int buttonIdIdentifier of the keyboard button with the request. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
MessageChatShared
public MessageChatShared()The current user shared a chat, which was requested by the bot. -
MessageChatShared
public MessageChatShared(long chatId, int buttonId) The current user shared a chat, which was requested by the bot.- Parameters:
chatId
- long Identifier of the shared chat.buttonId
- int Identifier of the keyboard button with the request.
-
MessageChatShared
The current user shared a chat, which was requested by the bot.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-