Created
August 2, 2019 00:23
-
-
Save krisgesling/963d334466565c5d5d26ec321357fe4f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "Telegram Skill", | |
"skillMetadata": { | |
"sections": [ | |
{ | |
"name": "Telegram Bot", | |
"fields": [ | |
{ | |
"type": "label", | |
"value": "", | |
"label": "Create a Telegram Bot (with BotFather /newbot or /help) and enter the Token here.<p/>Connect up to 2 users with their Chat ID.<p/>To get the Chat ID go to https://api.telegram.org/bot<yourtoken>/getUpdates or fill in the Bot Token below (save) and write anything to your bot, it will give you your Chat ID.<p/>User fields are only for yourself to better see which Chat ID belongs to which user.<p/>Both Users have access to both devices and bots, but each Mycroft Device needs a unique TelegramBot. It is not possible to have 2 Mycroft Devices use one TelegramBot<p/>" | |
}, | |
{ | |
"name": "MuteIt", | |
"type": "checkbox", | |
"label": "Mute answers when sending via Telegram", | |
"value": "false" | |
}, | |
{ | |
"name": "TeleToken1", | |
"type": "text", | |
"label": "Bot Token (mandatory)", | |
"value": "", | |
"placeholder": "Bot Token" | |
}, | |
{ | |
"name": "MDevice1", | |
"type": "text", | |
"label": "MyCroft Device Name (mandatory)", | |
"value": "", | |
"placeholder": "MyCroft Device Name" | |
}, | |
{ | |
"name": "TeleToken2", | |
"type": "text", | |
"label": "Bot Token second Mycroft Device (optional)", | |
"value": "", | |
"placeholder": "Bot Token" | |
}, | |
{ | |
"name": "MDevice2", | |
"type": "text", | |
"label": "Second MyCroft Device Name (if you have a second device)", | |
"value": "", | |
"placeholder": "MyCroft Device Name" | |
}, | |
{ | |
"name": "User1", | |
"type": "text", | |
"label": "Username 1 (optional)", | |
"value": "", | |
"placeholder": "Username for Chat ID 1" | |
}, | |
{ | |
"name": "TeleID1", | |
"type": "number", | |
"label": "Chat ID 1 (mandatory)", | |
"value": "", | |
"placeholder": "Chat ID" | |
}, | |
{ | |
"name": "User2", | |
"type": "text", | |
"label": "Username 2 (optional)", | |
"value": "", | |
"placeholder": "Username of Chat ID 2" | |
}, | |
{ | |
"name": "TeleID2", | |
"type": "number", | |
"label": "Chat ID 2 (if you have a second user)", | |
"value": "", | |
"placeholder": "Chat ID of second user" | |
} | |
] | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment