{"action":"created","issue":{"url":"https://api.github.com/repos/freedomotic/freedomotic/issues/224","repository_url":"https://api.github.com/repos/freedomotic/freedomotic","labels_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/224/comments","events_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/224/events","html_url":"https://github.com/freedomotic/freedomotic/issues/224","id":184178876,"number":224,"title":"Telegram Bot plugin: add a list of commands","user":{"login":"mcicolella","id":4079634,"avatar_url":"https://avatars.githubusercontent.com/u/4079634?v=3","gravatar_id":"","url":"https://api.github.com/users/mcicolella","html_url":"https://github.com/mcicolella","followers_url":"https://api.github.com/users/mcicolella/followers","following_url":"https://api.github.com/users/mcicolella/following{/other_user}","gists_url":"https://api.github.com/users/mcicolella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcicolella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcicolella/subscriptions","organizations_url":"https://api.github.com/users/mcicolella/orgs","repos_url":"https://api.github.com/users/mcicolella/repos","events_url":"https://api.github.com/users/mcicolella/events{/privacy}","received_events_url":"https://api.github.com/users/mcicolella/received_events","type":"User","site_admin":false},"labels":[{"id":452610793,"url":"https://api.github.com/repos/freedomotic/freedomotic/labels/hacktoberfest","name":"hacktoberfest","color":"d93f0b","default":false},{"id":343832830,"url":"https://api.github.com/repos/freedomotic/freedomotic/labels/help%20wanted","name":"help wanted","color":"009800","default":true},{"id":326847837,"url":"https://api.github.com/repos/freedomotic/freedomotic/labels/plugin","name":"plugin","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":26,"created_at":"2016-10-20T09:29:21Z","updated_at":"2016-11-13T17:53:06Z","closed_at":null,"body":"We have a first prototype of Telegram Bot plugin (https://github.com/freedomotic/freedomotic/tree/master/plugins/devices/telegram-bot). It works well to send notifications from Freedomotic (a wiki page will be added soon with more instructions).\nBut it's intended to control the framework.\nSo we should define a list of commands (in bot style) and connect them to our API.\nThe bot skeleton is https://github.com/freedomotic/freedomotic/blob/master/plugins/devices/telegram-bot/src/main/java/org/telegram/updateshandlers/FreedomoticBotHandlers.java\nand the list of commands https://github.com/freedomotic/freedomotic/blob/master/plugins/devices/telegram-bot/src/main/java/org/telegram/Commands.java\nI'm trying to figure a way to localize this messages. \n"},"comment":{"url":"https://api.github.com/repos/freedomotic/freedomotic/issues/comments/260201013","html_url":"https://github.com/freedomotic/freedomotic/issues/224#issuecomment-260201013","issue_url":"https://api.github.com/repos/freedomotic/freedomotic/issues/224","id":260201013,"user":{"login":"mcicolella","id":4079634,"avatar_url":"https://avatars.githubusercontent.com/u/4079634?v=3","gravatar_id":"","url":"https://api.github.com/users/mcicolella","html_url":"https://github.com/mcicolella","followers_url":"https://api.github.com/users/mcicolella/followers","following_url":"https://api.github.com/users/mcicolella/following{/other_user}","gists_url":"https://api.github.com/users/mcicolella/gists{/gist_id}","starred_url":"https://api.github.com/users/mcicolella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcicolella/subscriptions","organizations_url":"https://api.github.com/users/mcicolella/orgs","repos_url":"https://api.github.com/users/mcicolella/repos","events_url":"https://api.github.com/users/mcicolella/events{/privacy}","received_events_url":"https://api.github.com/users/mcicolella/received_events","type":"User","site_admin":false},"created_at":"2016-11-13T17:53:06Z","updated_at":"2016-11-13T17:53:06Z","body":"Thanks @Clevero don't worry."}}
{"actor":{"display_login":"mcicolella"}}