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

Update slack api endpoints to remove depreciated channels.* methods#45

Open
alexeiser wants to merge 1 commit intoSymantec:masterfrom
grailbio-external:symantec_fork_slack_api_changes
Open

Update slack api endpoints to remove depreciated channels.* methods#45
alexeiser wants to merge 1 commit intoSymantec:masterfrom
grailbio-external:symantec_fork_slack_api_changes

Conversation

@alexeiser
Copy link

@alexeiser
Copy link
Author

alexeiser commented Jun 11, 2020

NOTE: that newer slack apps - can not use the post as bot feature from this repo. This means that messages are posted as the user who created/added the app - and not as channel_reaper. While https://github.com/gareth-sharpe/slack-autoarchive makes an attempt at migrating to a bot only flow - the implementation has small issues (mostly because a user auth token is no longer needed at all)

@budbach
Copy link

budbach commented Aug 18, 2020

@alexeiser This is sorely needed but without handling pagination (https://api.slack.com/docs/pagination), the implementation of get_all_channels() will be pretty broken I think. By default, https://slack.com/api/conversations.list returns only the first 100 items (https://api.slack.com/methods/conversations.list).

@alexeiser
Copy link
Author

@alexeiser This is sorely needed but without handling pagination (https://api.slack.com/docs/pagination), the implementation of get_all_channels() will be pretty broken I think. By default, https://slack.com/api/conversations.list returns only the first 100 items (https://api.slack.com/methods/conversations.list).

Agreed - and I borrowed #42 to use on my branch of this repo.

@egeland
Copy link

egeland commented Jan 14, 2021

February 2021 is getting really close... any plans to merge this PR?

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.

3 participants