{"action":"opened","issue":{"url":"https://api.github.com/repos/gdi2290/angular-intercom/issues/19","labels_url":"https://api.github.com/repos/gdi2290/angular-intercom/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/gdi2290/angular-intercom/issues/19/comments","events_url":"https://api.github.com/repos/gdi2290/angular-intercom/issues/19/events","html_url":"https://github.com/gdi2290/angular-intercom/issues/19","id":56590676,"number":19,"title":"When/how to call $intercom.update()","user":{"login":"juanpasolano","id":1621720,"avatar_url":"https://avatars.githubusercontent.com/u/1621720?v=3","gravatar_id":"","url":"https://api.github.com/users/juanpasolano","html_url":"https://github.com/juanpasolano","followers_url":"https://api.github.com/users/juanpasolano/followers","following_url":"https://api.github.com/users/juanpasolano/following{/other_user}","gists_url":"https://api.github.com/users/juanpasolano/gists{/gist_id}","starred_url":"https://api.github.com/users/juanpasolano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanpasolano/subscriptions","organizations_url":"https://api.github.com/users/juanpasolano/orgs","repos_url":"https://api.github.com/users/juanpasolano/repos","events_url":"https://api.github.com/users/juanpasolano/events{/privacy}","received_events_url":"https://api.github.com/users/juanpasolano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-04T21:32:03Z","updated_at":"2015-02-04T21:32:03Z","closed_at":null,"body":"This is not a bug report.\r\nI just want to know what would be the best way to call $intercom.update() so as to the chat to work sort of realtime. I have received this message from an Intercom representative I am wondering how to handle this chat issue.\r\n\r\n> Intercom only checks for new user messages when the Intercom javascript loads, which happens on a page refresh or when a user opens the message window. \r\nYou can use the Javascript API and call Intercom('update') to check for new messages more frequently, but that will still only work when the message window is closed.\r\nWe're working on real time chat, but it's not quite there yet. Let me know if you have any other questions.\r\n\r\nThanks for sharing this module."}}