{"action":"created","issue":{"url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/451","repository_url":"https://api.github.com/repos/MycroftAI/mycroft-skills","labels_url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/451/labels{/name}","comments_url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/451/comments","events_url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/451/events","html_url":"https://github.com/MycroftAI/mycroft-skills/pull/451","id":339159628,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTA0OTA5","number":451,"title":"Add telegram","user":{"login":"luke5sky","id":27992191,"node_id":"MDQ6VXNlcjI3OTkyMTkx","avatar_url":"https://avatars0.githubusercontent.com/u/27992191?v=4","gravatar_id":"","url":"https://api.github.com/users/luke5sky","html_url":"https://github.com/luke5sky","followers_url":"https://api.github.com/users/luke5sky/followers","following_url":"https://api.github.com/users/luke5sky/following{/other_user}","gists_url":"https://api.github.com/users/luke5sky/gists{/gist_id}","starred_url":"https://api.github.com/users/luke5sky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke5sky/subscriptions","organizations_url":"https://api.github.com/users/luke5sky/orgs","repos_url":"https://api.github.com/users/luke5sky/repos","events_url":"https://api.github.com/users/luke5sky/events{/privacy}","received_events_url":"https://api.github.com/users/luke5sky/received_events","type":"User","site_admin":false},"labels":[{"id":950051389,"node_id":"MDU6TGFiZWw5NTAwNTEzODk=","url":"https://api.github.com/repos/MycroftAI/mycroft-skills/labels/needs%20validation","name":"needs validation","color":"fbca04","default":false},{"id":937807457,"node_id":"MDU6TGFiZWw5Mzc4MDc0NTc=","url":"https://api.github.com/repos/MycroftAI/mycroft-skills/labels/new","name":"new","color":"3b1b96","default":false},{"id":950050626,"node_id":"MDU6TGFiZWw5NTAwNTA2MjY=","url":"https://api.github.com/repos/MycroftAI/mycroft-skills/labels/override%20autotester","name":"override autotester","color":"f466e4","default":false},{"id":851991588,"node_id":"MDU6TGFiZWw4NTE5OTE1ODg=","url":"https://api.github.com/repos/MycroftAI/mycroft-skills/labels/waiting","name":"waiting","color":"98bdf9","default":false}],"state":"open","locked":false,"assignee":{"login":"KathyReid","id":114158,"node_id":"MDQ6VXNlcjExNDE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/114158?v=4","gravatar_id":"","url":"https://api.github.com/users/KathyReid","html_url":"https://github.com/KathyReid","followers_url":"https://api.github.com/users/KathyReid/followers","following_url":"https://api.github.com/users/KathyReid/following{/other_user}","gists_url":"https://api.github.com/users/KathyReid/gists{/gist_id}","starred_url":"https://api.github.com/users/KathyReid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KathyReid/subscriptions","organizations_url":"https://api.github.com/users/KathyReid/orgs","repos_url":"https://api.github.com/users/KathyReid/repos","events_url":"https://api.github.com/users/KathyReid/events{/privacy}","received_events_url":"https://api.github.com/users/KathyReid/received_events","type":"User","site_admin":false},"assignees":[{"login":"KathyReid","id":114158,"node_id":"MDQ6VXNlcjExNDE1OA==","avatar_url":"https://avatars2.githubusercontent.com/u/114158?v=4","gravatar_id":"","url":"https://api.github.com/users/KathyReid","html_url":"https://github.com/KathyReid","followers_url":"https://api.github.com/users/KathyReid/followers","following_url":"https://api.github.com/users/KathyReid/following{/other_user}","gists_url":"https://api.github.com/users/KathyReid/gists{/gist_id}","starred_url":"https://api.github.com/users/KathyReid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KathyReid/subscriptions","organizations_url":"https://api.github.com/users/KathyReid/orgs","repos_url":"https://api.github.com/users/KathyReid/repos","events_url":"https://api.github.com/users/KathyReid/events{/privacy}","received_events_url":"https://api.github.com/users/KathyReid/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-07-07T16:53:17Z","updated_at":"2018-08-08T19:52:36Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/MycroftAI/mycroft-skills/pulls/451","html_url":"https://github.com/MycroftAI/mycroft-skills/pull/451","diff_url":"https://github.com/MycroftAI/mycroft-skills/pull/451.diff","patch_url":"https://github.com/MycroftAI/mycroft-skills/pull/451.patch"},"body":"\n## Info\n\nThis PR adds the new skill, [telegram](https://github.com/luke5sky/telegram-skill), to the skills repo.\n\n## Description\n\n\nA skill to connect a telegram bot to MyCroft.\n\nYou need to create a telegram bot (via BotFather) and save the Bot Token, your ChatID and your MyCroft Device name on home.mycroft.ai under skill settings.\nAfter this restart your MyCroft Unit.\nYou can now commmunicate with your MyCroft Unit via this bot.\n\nSettings:\n- BOT TOKEN (MANDATORY): Your bot token you got from BotFather\n- MYCROFT DEVICE NAME (MANDATORY): Your Device name you configured on home.mycroft.ai - Devices - Registered Devices\n- BOT TOKEN SECOND MYCROFT DEVICE (OPTIONAL): If you have a second Mycroft Device and you want to use this skill with it -> put your second bot token here (it has to be an other bot than the first one because telegram only allows one device to get updates from one bot)\n- SECOND MYCROFT DEVICE NAME (IF YOU HAVE A SECOND DEVICE): Your Device name from your second Device you configured on home.mycroft.ai - Devices - Registered Devices\n- USERNAME 1 (OPTIONAL): You do not need to put anything here, the skill does not use this field. It is only for yourself to know which Chat ID belongs to whom\n- CHAT ID 1 (MANDATORY): You will get your Chat ID from the Telegram-Skill if you have configured BOT TOKEN (first field) and MYCROFT DEVICE NAME, saved and then write anything to the bot.\n- USERNAME 2 (OPTIONAL): For second User if you have one\n- CHAT ID 2 (IF YOU HAVE A SECOND USER): Same as CHAT ID 1 with Telegram-Account of second user\n\nDetailed HowTo:\n\n- Install this skill on your Mycroft Device\n\n- Create a telegram bot:\nOpen Telegram App on your smartphone, click on the search symbol in the upper right corner\nSearch for BotFather and click on it\nNow type /newbot hit enter\nBotfather should reply with: Alright, a new bot. How are we going to call it? please chosse a name for your bot.\nGive your bot a displayname like Mycroft\nBotfather should reply with: Good. Now let's choose a username for your bot. It must end in bot. Like this, for example: TetrisBot or tetris-bot.\nGive your bot unique username like lukesmycroftbot\nBotfather should now give you your token for this bot\nSave this token and don't post it online or send it to people, safety first!\n\nTelegram documentation on botfather: https://core.telegram.org/bots#6-botfather\n\n- Go to home.mycroft.ai - skills and search for the telegram-skills settings\n\n- Copy/paste your token botfather gave you in the field MYCROFT DEVICE NAME (MANDATORY)\n\n- Copy/paste your device name from home.mycroft.ai - devices in MYCROFT DEVICE NAME (MANDATORY)\n\n- SAVE and wait till the settings are synced to your Mycroft Unit (or reboot your device to trigger the sync)\n\n- Open Telegram App on your smartphone and search (upper right corner) for your bot (username or displayname) click on it and write test or hello to your bot\nIt should respond with: This is your ChatID: YOURCHATID\n\n- Copy/paste this under CHAT ID 1 (MANDATORY)\n\n- reboot your device to trigger the sync\n\n- Your bot should send you this welcome message: Telegram-Skill on Mycroft Unit YOURUNIT is loaded and ready to use\n\n\n\n\n<sub>Created with [mycroft-skills-kit](https://github.com/mycroftai/mycroft-skills-kit) v0.3.9</sub>"},"comment":{"url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/comments/411530940","html_url":"https://github.com/MycroftAI/mycroft-skills/pull/451#issuecomment-411530940","issue_url":"https://api.github.com/repos/MycroftAI/mycroft-skills/issues/451","id":411530940,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTUzMDk0MA==","user":{"login":"luke5sky","id":27992191,"node_id":"MDQ6VXNlcjI3OTkyMTkx","avatar_url":"https://avatars0.githubusercontent.com/u/27992191?v=4","gravatar_id":"","url":"https://api.github.com/users/luke5sky","html_url":"https://github.com/luke5sky","followers_url":"https://api.github.com/users/luke5sky/followers","following_url":"https://api.github.com/users/luke5sky/following{/other_user}","gists_url":"https://api.github.com/users/luke5sky/gists{/gist_id}","starred_url":"https://api.github.com/users/luke5sky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luke5sky/subscriptions","organizations_url":"https://api.github.com/users/luke5sky/orgs","repos_url":"https://api.github.com/users/luke5sky/repos","events_url":"https://api.github.com/users/luke5sky/events{/privacy}","received_events_url":"https://api.github.com/users/luke5sky/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T19:52:36Z","updated_at":"2018-08-08T19:52:36Z","author_association":"CONTRIBUTOR","body":"Hi @KathyReid i renamed the fields in the settings (i hope for better understanding) and made a detailed description and howto in the readme. Hope this helps.\r\nRegards"}}
{"actor":{"display_login":"luke5sky"}}