public static class TdApi.SendBusinessMessageAlbum extends TdApi.Function<TdApi.BusinessMessages>
Returns BusinessMessages
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
businessConnectionId
Unique identifier of business connection on behalf of which to send the request.
|
long |
chatId
Target chat.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
disableNotification
Pass true to disable notification for the message.
|
long |
effectId
Identifier of the effect to apply to the message.
|
TdApi.InputMessageContent[] |
inputMessageContents
Contents of messages to be sent.
|
boolean |
protectContent
Pass true if the content of the message must be protected from forwarding and saving.
|
TdApi.InputMessageReplyTo |
replyTo
Information about the message to be replied; pass null if none.
|
| Constructor and Description |
|---|
SendBusinessMessageAlbum()
Default constructor for a function, which sends 2-10 messages grouped together into an album on behalf of a business account; for bots only.
|
SendBusinessMessageAlbum(java.lang.String businessConnectionId,
long chatId,
TdApi.InputMessageReplyTo replyTo,
boolean disableNotification,
boolean protectContent,
long effectId,
TdApi.InputMessageContent[] inputMessageContents)
Creates a function, which sends 2-10 messages grouped together into an album on behalf of a business account; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String businessConnectionId
public long chatId
public TdApi.InputMessageReplyTo replyTo
public boolean disableNotification
public boolean protectContent
public long effectId
public TdApi.InputMessageContent[] inputMessageContents
public static final int CONSTRUCTOR
public SendBusinessMessageAlbum()
Returns BusinessMessages
public SendBusinessMessageAlbum(java.lang.String businessConnectionId,
long chatId,
TdApi.InputMessageReplyTo replyTo,
boolean disableNotification,
boolean protectContent,
long effectId,
TdApi.InputMessageContent[] inputMessageContents)
Returns BusinessMessages
businessConnectionId - Unique identifier of business connection on behalf of which to send the request.chatId - Target chat.replyTo - Information about the message to be replied; pass null if none.disableNotification - Pass true to disable notification for the message.protectContent - Pass true if the content of the message must be protected from forwarding and saving.effectId - Identifier of the effect to apply to the message.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