Class TdApi.SendMessageAlbum
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Function<TdApi.Messages>
dev.voroby.springframework.telegram.client.TdApi.SendMessageAlbum
- Enclosing class:
- TdApi
Sends 2-10 messages grouped together into an album. 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 Messages
-
Field Summary
Modifier and TypeFieldDescriptionlong
Target chat.static final int
Identifier uniquely determining type of the object.Contents of messages to be sent.long
If not 0, the message thread identifier in which the messages will be sent.Options to be used to send the messages; pass null to use default options.Information about the message or story to be replied; pass null if none. -
Constructor Summary
ConstructorDescriptionDefault constructor for a function, which sends 2-10 messages grouped together into an album.SendMessageAlbum
(long chatId, long messageThreadId, TdApi.InputMessageReplyTo replyTo, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents) Creates a function, which sends 2-10 messages grouped together into an album. -
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
-
chatId
public long chatIdTarget chat. -
messageThreadId
public long messageThreadIdIf not 0, the message thread identifier in which the messages will be sent. -
replyTo
Information about the message or story to be replied; pass null if none. -
options
Options to be used to send the messages; pass null to use default options. -
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
-
SendMessageAlbum
public SendMessageAlbum()Default constructor for a function, which sends 2-10 messages grouped together into an album. 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
Messages
-
SendMessageAlbum
public SendMessageAlbum(long chatId, long messageThreadId, TdApi.InputMessageReplyTo replyTo, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents) Creates a function, which sends 2-10 messages grouped together into an album. 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
Messages
- Parameters:
chatId
- Target chat.messageThreadId
- If not 0, the message thread identifier in which the messages will be sent.replyTo
- Information about the message or story to be replied; pass null if none.options
- Options to be used to send the messages; pass null to use default options.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
-