serokell / tzbot

Timezone bot for Slack
Mozilla Public License 2.0
7 stars 2 forks source link

[#8] Handle Slack pagination #26

Closed YuriRomanowski closed 1 year ago

YuriRomanowski commented 1 year ago

Description

Problem: Some Slack methods are paginated and hence can return not all objects if the limit turns out to be less than total amount of the objects.

Solution: Handle pagination by cursor following, fetching all available objects.

Related issue(s)

Fixed #8

:white_check_mark: Checklist for your Pull Request

Related changes (conditional)

Stylistic guide (mandatory)