Class TdApi.AddQuickReplyShortcutMessageAlbum
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.QuickReplyMessages>
dev.voroby.springframework.telegram.client.TdApi.AddQuickReplyShortcutMessageAlbum
- Enclosing class:
- TdApi
public static class TdApi.AddQuickReplyShortcutMessageAlbum
extends TdApi.Function<TdApi.QuickReplyMessages>
Adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.
Returns QuickReplyMessages
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.Contents of messages to be sent.long
Identifier of a quick reply message in the same shortcut to be replied; pass 0 if none.Name of the target shortcut. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which adds 2-10 messages grouped together into an album to a quick reply shortcut.AddQuickReplyShortcutMessageAlbum
(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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Function
toString
-
Field Details
-
shortcutName
Name of the target shortcut. -
replyToMessageId
public long replyToMessageIdIdentifier 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AddQuickReplyShortcutMessageAlbum
public AddQuickReplyShortcutMessageAlbum()Default constructor for a function, which adds 2-10 messages grouped together into an album to a quick reply shortcut. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.Returns
QuickReplyMessages
-
AddQuickReplyShortcutMessageAlbum
public AddQuickReplyShortcutMessageAlbum(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. Currently, only audio, document, photo and video messages can be grouped into an album. Documents and audio files can be only grouped in an album with messages of the same type. Returns sent messages.Returns
QuickReplyMessages
- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-