Package org.drinkless.tdlib
Class TdApi.SendMessageAlbum
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Function
-
- org.drinkless.tdlib.TdApi.SendMessageAlbum
-
- Enclosing class:
- TdApi
public static class TdApi.SendMessageAlbum extends TdApi.Function
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
Fields Modifier and Type Field Description longchatIdTarget chat.static intCONSTRUCTORIdentifier uniquely determining type of the object.TdApi.InputMessageContent[]inputMessageContentsContents of messages to be sent.longmessageThreadIdIf not 0, a message thread identifier in which the messages will be sent.TdApi.MessageSendOptionsoptionsOptions to be used to send the messages; pass null to use default options.longreplyToMessageIdIdentifier of a message to reply to or 0.
-
Constructor Summary
Constructors Constructor Description SendMessageAlbum()Default constructor for a function, which sends 2-10 messages grouped together into an album.SendMessageAlbum(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents)Creates a function, which sends 2-10 messages grouped together into an album.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Target chat.
-
messageThreadId
public long messageThreadId
If not 0, a message thread identifier in which the messages will be sent.
-
replyToMessageId
public long replyToMessageId
Identifier of a message to reply to or 0.
-
options
public TdApi.MessageSendOptions options
Options to be used to send the messages; pass null to use default options.
-
inputMessageContents
public TdApi.InputMessageContent[] inputMessageContents
Contents of messages to be sent. At most 10 messages can be added to an album.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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, long replyToMessageId, 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, a message thread identifier in which the messages will be sent.replyToMessageId- Identifier of a message to reply to or 0.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.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-