{"action":"opened","issue":{"url":"https://api.github.com/repos/matheuss/telegram-cli/issues/1","labels_url":"https://api.github.com/repos/matheuss/telegram-cli/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/matheuss/telegram-cli/issues/1/comments","events_url":"https://api.github.com/repos/matheuss/telegram-cli/issues/1/events","html_url":"https://github.com/matheuss/telegram-cli/issues/1","id":115045595,"number":1,"title":"Sometimes replies are sent in wrong order","user":{"login":"matheuss","id":4721750,"avatar_url":"https://avatars.githubusercontent.com/u/4721750?v=3","gravatar_id":"","url":"https://api.github.com/users/matheuss","html_url":"https://github.com/matheuss","followers_url":"https://api.github.com/users/matheuss/followers","following_url":"https://api.github.com/users/matheuss/following{/other_user}","gists_url":"https://api.github.com/users/matheuss/gists{/gist_id}","starred_url":"https://api.github.com/users/matheuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matheuss/subscriptions","organizations_url":"https://api.github.com/users/matheuss/orgs","repos_url":"https://api.github.com/users/matheuss/repos","events_url":"https://api.github.com/users/matheuss/events{/privacy}","received_events_url":"https://api.github.com/users/matheuss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/matheuss/telegram-cli/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T12:47:13Z","updated_at":"2015-11-04T12:47:13Z","closed_at":null,"body":"When the bot needs to send more than 1 reply per message, sometimes they are sent in an incorrect order. \r\nThis occurs because of the async nature of node.js. Some kind of queue needs to be implemented.\r\n[This bot](https://github.com/matheuss/telegram-user-id-bot) uses a very simple (and far from optimized) queue that can be used for reference – or even copy/pasted."}}