public static class TdApi.AddQuickReplyShortcutMessage extends TdApi.Function<TdApi.QuickReplyMessage>
Returns QuickReplyMessage
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputMessageContent |
inputMessageContent
The content of the message to be added; inputMessagePoll, inputMessageForwarded and inputMessageLocation with livePeriod aren't supported.
|
long |
replyToMessageId
Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.
|
java.lang.String |
shortcutName
Name of the target shortcut.
|
| Constructor and Description |
|---|
AddQuickReplyShortcutMessage()
Default constructor for a function, which adds a message to a quick reply shortcut.
|
AddQuickReplyShortcutMessage(java.lang.String shortcutName,
long replyToMessageId,
TdApi.InputMessageContent inputMessageContent)
Creates a function, which adds a message to a quick reply shortcut.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String shortcutName
public long replyToMessageId
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public AddQuickReplyShortcutMessage()
Returns QuickReplyMessage
public AddQuickReplyShortcutMessage(java.lang.String shortcutName,
long replyToMessageId,
TdApi.InputMessageContent inputMessageContent)
Returns QuickReplyMessage
shortcutName - Name of the target shortcut.replyToMessageId - Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.inputMessageContent - The content of the message to be added; inputMessagePoll, inputMessageForwarded and inputMessageLocation with livePeriod aren't supported.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object