XYZ icon

XYZ

XYZ chatbot integration (actions)

Delete Message

AI-generated

Summary

Delete a message in a specified chat room by providing the room identifier and the event identifier of the message. Optionally, include a reason for the deletion.

Inputs

  • Room ID (required) — The unique identifier of the chat room containing the message to delete.
  • Event ID (required) — The unique identifier (event ID) of the message to be deleted within the specified room.
  • Reason — An optional reason explaining why the message is being deleted.

Output shape

a single record containing the deletion operation result or error information.

Errors include an 'error' field with the error message. The output corresponds to the success or failure of deleting the specified message.

Discussion