WIP: Slack compatiblity with its new 2024 API #1295
Draft
+336
−148
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description:
Related issue (if applicable): #1212
Support the new Slack API which will officially deprecate the old on Mar 31st, 2025 (coming soon)
Note: This is very much a heavy work in progress and in it's current state does not work. Just committing to get code off my PC
Seeing how the Slack plugin is one of the earlier Apprise plugins, it's structure was rather bloated, so this PR will also involve it's refactoring.
Despite time running out, the adaptation made in this PR will remain compatible with the old API with a deprecation warning to those still using it (which is everybody 😉 ) alerting them to convert.
Checklist
flake8
)Testing
Anyone can help test this source code as follows: