pub async fn edit_message_text(
chat_id: i64,
message_id: i64,
reply_markup: Option<ReplyMarkup>,
input_message_content: InputMessageContent,
client_id: i32,
) -> Result<Message, Error>
Expand description
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
ยงArguments
chat_id
- The chat the message belongs tomessage_id
- Identifier of the messagereply_markup
- The new message reply markup; pass null if none; for bots onlyinput_message_content
- New text content of the message. Must be of type inputMessageTextclient_id
- The client id to send the request to