public static class TdApi.SendQuickReplyShortcutMessages extends TdApi.Function<TdApi.Messages>
Returns Messages
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat to which to send messages.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
sendingId
Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates.
|
int |
shortcutId
Unique identifier of the quick reply shortcut.
|
| Constructor and Description |
|---|
SendQuickReplyShortcutMessages()
Default constructor for a function, which sends messages from a quick reply shortcut.
|
SendQuickReplyShortcutMessages(long chatId,
int shortcutId,
int sendingId)
Creates a function, which sends messages from a quick reply shortcut.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public int shortcutId
public int sendingId
public static final int CONSTRUCTOR
public SendQuickReplyShortcutMessages()
Returns Messages
public SendQuickReplyShortcutMessages(long chatId,
int shortcutId,
int sendingId)
Returns Messages
chatId - Identifier of the chat to which to send messages. The chat must be a private chat with a regular user.shortcutId - Unique identifier of the quick reply shortcut.sendingId - Non-persistent identifier, which will be returned back in messageSendingStatePending object and can be used to match sent messages and corresponding updateNewMessage updates.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object