public static class TdApi.EditMessageText extends TdApi.Function<TdApi.Message>
Returns Message
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
The chat the message belongs to.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputMessageContent |
inputMessageContent
New text 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 |
|---|
EditMessageText()
Default constructor for a function, which edits the text of a message (or a text of a game message).
|
EditMessageText(long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Creates a function, which edits the text of a message (or a text of a game message).
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public long messageId
public TdApi.ReplyMarkup replyMarkup
public TdApi.InputMessageContent inputMessageContent
public static final int CONSTRUCTOR
public EditMessageText()
Returns Message
public EditMessageText(long chatId,
long messageId,
TdApi.ReplyMarkup replyMarkup,
TdApi.InputMessageContent inputMessageContent)
Returns Message
chatId - The chat the message belongs to.messageId - Identifier of the message. Use messageProperties.canBeEdited to check whether the message can be edited.replyMarkup - The new message reply markup; pass null if none; for bots only.inputMessageContent - New text content of the message. Must be of type inputMessageText.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object