Edit a message that was sent https://marketplace.zoom.us/docs/apireference/zoomapi/imchat/sendchatbot by your Chatbot app. After sending a message using the Send Chatbot Message API, you must store the messageId returned in the response so that you can make edits to the associated message using this API.**Scope:** imchat:bot ** Rate Limit Label https://marketplace.zoom.us/docs/apireference/ratelimits#ratelimits :** Medium**Authorization Flow**: Client Credentials FlowTo get authorized, make a POST request to /oauth/token endpoint with grant type as client_credentials. Use https://api.zoom.us/oauth/token?grant_type=client_credentials as the endpoint for the request. You will need to send your ClientID and Secret as a Basic base64 encoded AUthorization header. Ex. Basic base64Encode client_id:client_sceret Next, use the token received access_token as a bearer token while making the PUT /im/chat/messages/message_id request to edit a chatbot message.Learn more about how to authotize chatbots in the Chatbot Authorization https://marketplace.zoom.us/docs/guides/chatbots/authorization guide.

editChatbotMessage(
  message_id,
  robot_jid,
  account_id,
  content,
  user_jid = NULL,
  is_markdown_support = NULL,
  return_response = F
)

Arguments

message_id

Unique Identifier of the message that needs to be updated. This should be retrieved from the response of Send Chatbot Message API https://marketplace.zoom.us/docs/apireference/zoomapi/imchat/sendchatbot .

robot_jid

Robot JID created when enabling chatbot features on your marketplace app.

account_id

The AccountID of the Zoom account to which the message was sent. Retrieve this from the Chatbot request sent to your server as shown in the example here https://marketplace.zoom.us/docs/guides/chatbots/sendingmessages .

content

JSON template describing how the edited message should be displayed for the user. For more information please see our "Send Message" templates https://marketplace.zoom.us/docs/guides/chatbots/sendingmessages#examplerequest .

user_jid

**Optional**The UserJID of the user on whose behalf the message is being sent. Use this field to prevent members of a channel from getting notifications that were set up by a user who has left the channel.

is_markdown_support

**Optional**Enable or disable markdown parser to your chatbot message. Applies the markdown parser to your chatbot message if the value of this field is set to true. To learn more, refer to the Chatbot message markdown reference https://marketplace.zoom.us/docs/guides/chatbots/customizingmessages/messagewithmarkdown .

return_response

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