- 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
Contents of messages to be sent.long
If not 0, a message thread identifier in which the messages will be sent.boolean
Pass true to get fake messages instead of actually sending them.Options to be used to send the messages; pass null to use default options.long
Identifier of a replied message; 0 if none. -
Constructor Summary
ConstructorDescriptionSends 2-10 messages grouped together into an album.SendMessageAlbum
(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents, boolean onlyPreview) Sends 2-10 messages grouped together into an album.SendMessageAlbum
(DataInput input) Sends 2-10 messages grouped together into an album. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdTarget chat. -
messageThreadId
public long messageThreadIdIf not 0, a message thread identifier in which the messages will be sent. -
replyToMessageId
public long replyToMessageIdIdentifier of a replied message; 0 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. -
onlyPreview
public boolean onlyPreviewPass true to get fake messages instead of actually sending them. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
SendMessageAlbum
public SendMessageAlbum()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. ReturnsMessages
-
SendMessageAlbum
public SendMessageAlbum(long chatId, long messageThreadId, long replyToMessageId, TdApi.MessageSendOptions options, TdApi.InputMessageContent[] inputMessageContents, boolean onlyPreview) 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. ReturnsMessages
- Parameters:
chatId
- long Target chat.messageThreadId
- long If not 0, a message thread identifier in which the messages will be sent.replyToMessageId
- long Identifier of a replied message; 0 if none.options
- MessageSendOptions Options to be used to send the messages; pass null to use default options.inputMessageContents
- InputMessageContent[] Contents of messages to be sent. At most 10 messages can be added to an album.onlyPreview
- boolean Pass true to get fake messages instead of actually sending them.
-
SendMessageAlbum
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. ReturnsMessages
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-