public static class TdApi.EditMessageText extends TdApi.Function
Returns Message
TdApi.Function.Constructors
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; 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() |
toString
public 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.replyMarkup
- The new message reply markup; for bots only.inputMessageContent
- New text content of the message. Should be of type InputMessageText.public int getConstructor()
getConstructor
in class TdApi.Function