public static class TdApi.SendMessageAlbum extends TdApi.Function
Returns Messages
TdApi.Function.Constructors
Modifier and Type | Field and Description |
---|---|
long |
chatId
Target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputMessageContent[] |
inputMessageContents
Contents of messages to be sent.
|
long |
messageThreadId
If not 0, a message thread identifier in which the messages will be sent.
|
TdApi.MessageSendOptions |
options
Options to be used to send the messages; pass null to use default options.
|
long |
replyToMessageId
Identifier of a message to reply to or 0.
|
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long chatId
public long messageThreadId
public long replyToMessageId
public TdApi.MessageSendOptions options
public TdApi.InputMessageContent[] inputMessageContents
public static final int CONSTRUCTOR
public SendMessageAlbum()
Returns Messages
public SendMessageAlbum(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents)
Returns Messages
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.public int getConstructor()
getConstructor
in class TdApi.Function