edit_message_text


Description:

public async Message edit_message_text (int64 chat_id, int64 message_id, ReplyMarkup reply_markup, InputMessageContent input_message_content) throws TDLibError

Edits the text of a message (or a text of a game message). Returns the edited message after the edit is completed on the server side

Parameters:

chat_id

The chat the message belongs to

message_id

Identifier of the message. Use messageProperties.can_be_edited to check whether the message can be edited

reply_markup

The new message reply markup; pass null if none; for bots only

input_message_content

New text content of the message. Must be of type inputMessageText