public static class TdApi.EditBusinessMessageMedia extends TdApi.Function<TdApi.BusinessMessage>
Returns BusinessMessage
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
businessConnectionId
Unique identifier of business connection on behalf of which the message was sent.
|
long |
chatId
The chat the message belongs to.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputMessageContent |
inputMessageContent
New content of the message.
|
long |
messageId
Identifier of the message.
|
TdApi.ReplyMarkup |
replyMarkup
The new message reply markup; pass null if none; for bots only.
|
| Constructor and Description |
|---|
EditBusinessMessageMedia()
Default constructor for a function, which edits the media content of a message with a text, an animation, an audio, a document, a photo or a video in a message sent on behalf of a business account; for bots only.
|
EditBusinessMessageMedia(java.lang.String businessConnectionId,
long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Creates a function, which edits the media content of a message with a text, an animation, an audio, a document, a photo or a video in a message sent 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 long messageId
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public EditBusinessMessageMedia()
Returns BusinessMessage
public EditBusinessMessageMedia(java.lang.String businessConnectionId,
long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Returns BusinessMessage
businessConnectionId - Unique identifier of business connection on behalf of which the message was sent.chatId - The chat the message belongs to.messageId - Identifier of the message.replyMarkup - The new message reply markup; pass null if none; for bots only.inputMessageContent - New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object