Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.

Replaced deprecated API endpoints and added channel list paging#51

Open
shamarashid wants to merge 3 commits intoSymantec:masterfrom
shamarashid:master
Open

Replaced deprecated API endpoints and added channel list paging#51
shamarashid wants to merge 3 commits intoSymantec:masterfrom
shamarashid:master

Conversation

@shamarashid
Copy link

@shamarashid shamarashid commented Sep 25, 2021

Replaced deprecated channels endpoints with conversations endpoints. Slack announcement https://api.slack.com/changelog/2020-01-deprecating-antecedents-to-the-conversations-api#:~:text=The%20final%20date%20for%20existing,All%20channels.

Added ability to iterate over large list of channels using paging and cursors.

Without this fix, the channel will be archived right after the bot joins the channel since channel history has no messages.

Co-authored-by: Nils Reichardt <me@nils.re>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants