{ "type": "Twitter Bot", "editors": { "config": true }, "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration", "actionProject": "Foundations" }, { "action": "Add UI Object", "label": "Add Social Bot Command", "relatedUiObject": "Social Bot Command", "actionFunction": "payload.executeAction", "actionProject": "Foundations", "relatedUiObjectProject": "Social-Bots" }, { "action": "Send Twitter Test Message", "label": "Send Twitter Test Message", "iconPathOn": "test-entity", "iconPathOff": "test-entity", "actionFunction": "payload.executeAction", "actionProject": "SocialBots" }, { "action": "Delete UI Object", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction", "actionProject": "Foundations" } ], "initialValues": { "config": "{ \n\"botToken\": \"Paste the bot token obtained from Twitter \",\n}" }, "addLeftIcons": true, "level": 3, "attachingRules": { "compatibleTypes": "->Social Bots->" }, "childrenNodesProperties": [ { "name": "socialBotCommand", "type": "array", "childType": "Social Bot Command", "autoAdd": false, "project": "Social-Bots" } ], "propertyNameAtParent": "twitterBots" }