Delete a message that was sent by your chatbot app. **Scopes:** 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 DELETE /im/chat/messages/message_id request to delete a message.Learn more about how to authotize chatbots in the Chatbot Authorization https://marketplace.zoom.us/docs/guides/chatbots/authorization guide.

deleteChatbotMessage(
  robot_jid,
  user_jid = NULL,
  account_id,
  return_response = F
)

Arguments

robot_jid

The BotJID found in the Chat Subscription Section on the Features page of your App Dashboard.

user_jid

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

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 .

return_response

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