Each chat message has a unique identifier. Use this API to edit a chat message that you previously sent to either a contact or a channel in Zoom by providing the ID of the message as the value of the messageId parameter. The ID can be retrieved from List User's Chat Messages API. Additionally, as a query parameter, you must provide either the **email address** of the contact or the **Channel ID** of the channel where the message was sent. **Scope:** chat_message:write,chat_message:write:admin ** Rate Limit Label https://marketplace.zoom.us/docs/apireference/ratelimits#ratelimits :** Medium </b> For an<b> accountlevel</b> <a href="https://marketplace.zoom.us/docs/guides/gettingstarted/apptypes/createoauthapp">OAuth app</a>, this API can only be used on behalf of a user who is assigned with a <b><a href="https://support.zoom.us/hc/enus/articles/115001078646Usingrolemanagement#:~:text=Each

updateMessage(
  messageId,
  message = NULL,
  to_contact = NULL,
  to_channel = NULL,
  return_response = F
)

Arguments

messageId

Message ID: Unique Identifier of the message.

message

The edited message.

to_contact

The email address of the contact to whom the message was sent.You must provide either to_contact or to_channel parameter in the API request.

to_channel

The Channel ID of the channel where you sent the message.You must provide either to_contact or to_channel parameter in the API request. Channel ID can be retrieved from List User's Channels API.

return_response

Whether to return the response instead of the response content. Defaults to FALSE.