XYZ icon

XYZ

XYZ chatbot integration (actions)

Leave Room

AI-generated

Summary

Leave a chat room by specifying the bot and the room's name or ID to instruct the bot to exit that room.

Inputs

  • Bot Name (required) — The name of the bot that will leave the chat room.
  • Room Name or ID (required) — The identifier or name of the room to leave, for example, !room123:example.com.

Output shape

a list with one item containing the result of the leave operation or error details if it fails

Returns an array of JSON objects representing the operation outcome; on failure, the error message is included per item if 'Continue On Fail' is enabled.

Discussion