teams.microsoft.com
Edit Chat Message
Input
mid requiredMessage id of your own message to edit, taken verbatim from get_chat_messages for this chat. Do not use the id returned by send_chat_message: it is not the id Teams stores for the message, so it cannot be found here. The id is an opaque string (older messages carry 13 digits, newer ones 19); never construct or parse it, pass through exactly what get_chat_messages returned.
newText requiredReplacement text for the message.
contactName requiredDisplay name of the person whose 1:1 chat to open, as it appears in Teams (e.g. "April Deere").
Output
mid requiredtext requiredText of the message read back after the edit.
edited required