public static class TdApi.SendMessageAlbum extends TdApi.Function<TdApi.Messages>
Returns Messages
| 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, the 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.
|
TdApi.InputMessageReplyTo |
replyTo
Information about the message or story to be replied; pass null if none.
|
| Constructor and Description |
|---|
SendMessageAlbum()
Default 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.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageThreadId
public TdApi.InputMessageReplyTo replyTo
public TdApi.MessageSendOptions options
public TdApi.InputMessageContent[] inputMessageContents
public static final int CONSTRUCTOR
public SendMessageAlbum()
Returns Messages
public SendMessageAlbum(long chatId,
long messageThreadId,
TdApi.InputMessageReplyTo replyTo,
TdApi.MessageSendOptions options,
TdApi.InputMessageContent[] inputMessageContents)
Returns Messages
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.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object