deleteMessage.Rd
Delete a chat message that you previously sent to a contact or a channel. In the query parameter, you must provide either of the following:* to_contact: The email address of the contact to whom you sent the message. Use this parameter to delete a message sent to an individual contact in Zoom.* to_channel: The channel ID of the channel where you sent the message. Use this parameter to delete a message sent to a channel in Zoom.<p style="backgroundcolor:#e1f5fe; color:#01579b; padding:8px"> <b>Note: </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
deleteMessage( messageId, to_contact = NULL, to_channel = NULL, return_response = F )
messageId | Message ID |
---|---|
to_contact | The userId or email address of a chat contact to whom you previously sent the message.Note: You must provide either to_contact or to_channel as a query parameter to delete a message that was previously sent to either an individual or a chat channel respectively. |
to_channel | The channel Id of the channel where you would like to send the message.You must provide either to_contact or to_channel as a query parameter to delete a message that was previously sent to either an individual or a chat channel |
return_response | Whether to return the response instead of the response content. Defaults to FALSE. |