teams.microsoft.com
Edit Chat Message
Input
mid requiredMessage id (epoch ms) of your own message to edit, e.g. from send_chat_message's output or get_chat_messages.
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. "Jatin Papneja").
Output
mid requiredtext requiredText of the message read back after the edit.
edited required