{ "type": "Telegram Bot", "editors": { "config": true }, "menuItems": [ { "action": "Configure", "actionFunction": "uiObject.configEditor.activate", "label": "Configure", "iconPathOn": "configuration", "iconPathOff": "configuration" }, { "action": "Add UI Object", "label": "Add Social Bot Command", "relatedUiObject": "Social Bot Command", "actionFunction": "payload.executeAction" }, { "action": "Send Telegram Test Message", "label": "Send Telegram Test Message", "iconPathOn": "test-entity", "iconPathOff": "test-entity", "actionFunction": "payload.executeAction" }, { "action": "Delete UI Object", "askConfirmation": true, "confirmationLabel": "Confirm to Delete", "label": "Delete", "iconPathOn": "delete-entity", "iconPathOff": "delete-entity", "actionFunction": "payload.executeAction" } ], "initialValues": { "config": "{ \n\"botToken\": \"Paste the bot token obtained from Telegram Bot Father\",\n\"chatId\": \"Type or paste the chat or group id -a number with no quotes- where announcements are going to be sent to\"\n}" }, "addLeftIcons": true, "level": 3, "attachingRules": { "compatibleTypes": "->Social Bots->" }, "childrenNodesProperties": [ { "name": "socialBotCommand", "type": "array", "childType": "Social Bot Command", "autoAdd": false } ], "propertyNameAtParent": "telegramBots" }