{
  "name": "rocketchat",
  "display_name": "RocketChat",
  "description": "Consume RocketChat API",
  "group": [
    "transform"
  ],
  "versions": [
    1.0
  ],
  "inputs": 1,
  "outputs": 1,
  "credentials": [
    {
      "name": "rocketchatApi",
      "required": true
    }
  ],
  "properties": [
    {
      "name": "resource",
      "display_name": "Resource",
      "kind": "options",
      "required": false,
      "default": "chat"
    },
    {
      "name": "operation",
      "display_name": "Operation",
      "kind": "options",
      "required": false,
      "default": "postMessage",
      "description": "Post a message to a channel or a direct message"
    },
    {
      "name": "channel",
      "display_name": "Channel",
      "kind": "string",
      "required": true,
      "default": "",
      "description": "The channel name with the prefix in front of it"
    },
    {
      "name": "text",
      "display_name": "Text",
      "kind": "string",
      "required": false,
      "default": "",
      "description": "The text of the message to send, is optional because of attachments"
    },
    {
      "name": "jsonParameters",
      "display_name": "JSON Parameters",
      "kind": "boolean",
      "required": false
    },
    {
      "name": "options",
      "display_name": "Options",
      "kind": "collection",
      "required": false,
      "default": "",
      "description": "This will cause the message’s name to appear as the given alias, but your username will still display"
    },
    {
      "name": "attachments",
      "display_name": "Attachments",
      "kind": "collection",
      "required": false,
      "default": "#ff0000",
      "description": "The color you want the order on the left side to be, any value background-css supports"
    },
    {
      "name": "attachmentsJson",
      "display_name": "Attachments",
      "kind": "json",
      "required": false,
      "default": ""
    }
  ],
  "source_path": "/home/mcochran/n8n/packages/nodes-base/nodes/Rocketchat/Rocketchat.node.ts"
}