{"action":"created","issue":{"url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/27","repository_url":"https://api.github.com/repos/benjick/meteor-telegram-bot","labels_url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/27/comments","events_url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/27/events","html_url":"https://github.com/benjick/meteor-telegram-bot/issues/27","id":155616364,"number":27,"title":"End Conversation with command dispatch.","user":{"login":"MeDBejoHok","id":5373823,"avatar_url":"https://avatars.githubusercontent.com/u/5373823?v=3","gravatar_id":"","url":"https://api.github.com/users/MeDBejoHok","html_url":"https://github.com/MeDBejoHok","followers_url":"https://api.github.com/users/MeDBejoHok/followers","following_url":"https://api.github.com/users/MeDBejoHok/following{/other_user}","gists_url":"https://api.github.com/users/MeDBejoHok/gists{/gist_id}","starred_url":"https://api.github.com/users/MeDBejoHok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MeDBejoHok/subscriptions","organizations_url":"https://api.github.com/users/MeDBejoHok/orgs","repos_url":"https://api.github.com/users/MeDBejoHok/repos","events_url":"https://api.github.com/users/MeDBejoHok/events{/privacy}","received_events_url":"https://api.github.com/users/MeDBejoHok/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-18T22:30:00Z","updated_at":"2016-05-23T14:51:19Z","closed_at":null,"body":"Hello everybody. I'm trying to handle the case when the user terminates the listener with another register command. For example, if I'm in progress of the command _/new_ and send another command, such as _/list_. What I need to do is:\r\n\r\n```\r\nTelegramBot.endConversation(…);\r\nTelegramBot.send('/list.', …);\r\n```\r\n\r\nThe problem is when I `endConversation`, the `.send` command doesn't work. Yes, it sends a message _/list_, but it doesn't initiate `TelegramBot.addListener('/list', …)`.\r\n\r\nCould you suggest how to solve this?"},"comment":{"url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/comments/221002730","html_url":"https://github.com/benjick/meteor-telegram-bot/issues/27#issuecomment-221002730","issue_url":"https://api.github.com/repos/benjick/meteor-telegram-bot/issues/27","id":221002730,"user":{"login":"shrmnk","id":859780,"avatar_url":"https://avatars.githubusercontent.com/u/859780?v=3","gravatar_id":"","url":"https://api.github.com/users/shrmnk","html_url":"https://github.com/shrmnk","followers_url":"https://api.github.com/users/shrmnk/followers","following_url":"https://api.github.com/users/shrmnk/following{/other_user}","gists_url":"https://api.github.com/users/shrmnk/gists{/gist_id}","starred_url":"https://api.github.com/users/shrmnk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shrmnk/subscriptions","organizations_url":"https://api.github.com/users/shrmnk/orgs","repos_url":"https://api.github.com/users/shrmnk/repos","events_url":"https://api.github.com/users/shrmnk/events{/privacy}","received_events_url":"https://api.github.com/users/shrmnk/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T14:51:19Z","updated_at":"2016-05-23T14:51:19Z","body":"Hey man, I got your email. I'll check on this case tomorrow when I can finally get my computer working (been working off my phone because of a failed SSD).\r\n\r\nJust to clarify - you had previously set up a listener on /list and then started a conversation? And now, you want it such that a specific command (/new) would end the conversation and revert back to the listener's handler?"}}
{"actor":{"display_login":"shrmnk"}}