public static class TdApi.MessageChatShared extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
int |
buttonId
Identifier of the keyboard button with the request.
|
TdApi.SharedChat |
chat
The shared chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
MessageChatShared()
The 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.SharedChat chat
public int buttonId
public static final int CONSTRUCTOR
public MessageChatShared()
public MessageChatShared(TdApi.SharedChat chat, int buttonId)
chat - The shared chat.buttonId - Identifier of the keyboard button with the request.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object