public static class TdApi.AddQuickReplyShortcutMessageAlbum extends TdApi.Function<TdApi.QuickReplyMessages>
Returns QuickReplyMessages
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputMessageContent[] |
inputMessageContents
Contents of messages to be sent.
|
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 |
|---|
AddQuickReplyShortcutMessageAlbum()
Default constructor for a function, which adds 2-10 messages grouped together into an album to a quick reply shortcut.
|
AddQuickReplyShortcutMessageAlbum(java.lang.String shortcutName,
long replyToMessageId,
TdApi.InputMessageContent[] inputMessageContents)
Creates a function, which adds 2-10 messages grouped together into an album 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[] inputMessageContents
public static final int CONSTRUCTOR
public AddQuickReplyShortcutMessageAlbum()
Returns QuickReplyMessages
public AddQuickReplyShortcutMessageAlbum(java.lang.String shortcutName,
long replyToMessageId,
TdApi.InputMessageContent[] inputMessageContents)
Returns QuickReplyMessages
shortcutName - Name of the target shortcut.replyToMessageId - Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.inputMessageContents - Contents of messages to be sent. At most 10 messages can be added to an album. All messages must have the same value of showCaptionAboveMedia.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object