{"action":"created","issue":{"url":"https://api.github.com/repos/slackhq/node-slack-client/issues/67","repository_url":"https://api.github.com/repos/slackhq/node-slack-client","labels_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/67/comments","events_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/67/events","html_url":"https://github.com/slackhq/node-slack-client/pull/67","id":100623943,"number":67,"title":"Add count and callback to fetchHistory","user":{"login":"mpd106","id":1884846,"avatar_url":"https://avatars.githubusercontent.com/u/1884846?v=3","gravatar_id":"","url":"https://api.github.com/users/mpd106","html_url":"https://github.com/mpd106","followers_url":"https://api.github.com/users/mpd106/followers","following_url":"https://api.github.com/users/mpd106/following{/other_user}","gists_url":"https://api.github.com/users/mpd106/gists{/gist_id}","starred_url":"https://api.github.com/users/mpd106/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpd106/subscriptions","organizations_url":"https://api.github.com/users/mpd106/orgs","repos_url":"https://api.github.com/users/mpd106/repos","events_url":"https://api.github.com/users/mpd106/events{/privacy}","received_events_url":"https://api.github.com/users/mpd106/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-12T20:07:11Z","updated_at":"2016-02-13T20:07:42Z","closed_at":"2016-02-13T20:07:42Z","pull_request":{"url":"https://api.github.com/repos/slackhq/node-slack-client/pulls/67","html_url":"https://github.com/slackhq/node-slack-client/pull/67","diff_url":"https://github.com/slackhq/node-slack-client/pull/67.diff","patch_url":"https://github.com/slackhq/node-slack-client/pull/67.patch"},"body":"Adding the extra `count` parameter to fetch a maximum number of results, and adding a callback with similar behaviour to that of the `client`. Also added reasonably rudimentary tests for existing and new behaviour."},"comment":{"url":"https://api.github.com/repos/slackhq/node-slack-client/issues/comments/183746218","html_url":"https://github.com/slackhq/node-slack-client/pull/67#issuecomment-183746218","issue_url":"https://api.github.com/repos/slackhq/node-slack-client/issues/67","id":183746218,"user":{"login":"l12s","id":4584613,"avatar_url":"https://avatars.githubusercontent.com/u/4584613?v=3","gravatar_id":"","url":"https://api.github.com/users/l12s","html_url":"https://github.com/l12s","followers_url":"https://api.github.com/users/l12s/followers","following_url":"https://api.github.com/users/l12s/following{/other_user}","gists_url":"https://api.github.com/users/l12s/gists{/gist_id}","starred_url":"https://api.github.com/users/l12s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/l12s/subscriptions","organizations_url":"https://api.github.com/users/l12s/orgs","repos_url":"https://api.github.com/users/l12s/repos","events_url":"https://api.github.com/users/l12s/events{/privacy}","received_events_url":"https://api.github.com/users/l12s/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T20:07:42Z","updated_at":"2016-02-13T20:07:42Z","body":"Ok, first off, I apologize for how long it's taken us to resolve this PR.\r\n\r\nI just pushed the 2.0.0 release for this library, which is a ground up refactor with the aim of building a lib that both Slack and our external contributors can easily work with and improve.\r\n\r\nIt also moves the web API into a separate client, with individual function calls for addressing each of the API endpoints. The fetch history functions for channels, groups etc now also support all parameters the web API does, for example [`channels.history`](https://github.com/slackhq/node-slack-client/blob/03743068caa535f15a636da164953f402d1899c5/lib/clients/web/facets/channels.js#L73)"}}