working-plusplus icon indicating copy to clipboard operation
working-plusplus copied to clipboard

Cursor-based pagination to get all users list

Open shawool opened this issue 4 years ago • 0 comments

Slack API (https://api.slack.com/docs/pagination) methods return results using a cursor-based approach . getUsersList doesn't return all users if the Slack user list is above max page limit (1000). Added cursor-based pagination to iterate and pull all users from slack.

shawool avatar Feb 14 '21 16:02 shawool