Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced deprecated API endpoints and added channel list paging #51

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

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.

slack_autoarchive.py Outdated Show resolved Hide resolved
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants