diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2024-01-18 22:45:03 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2024-02-18 12:56:59 +0100 |
commit | 15cabf8ba1b9daa7e28475ea46cc5a8fd478e174 (patch) | |
tree | f65e557a115b0f83d13cb6d4b9943ddbd273268c /tests/test_render_attachments.py | |
parent | bb80ee68763233930a6f4169b07a029cd99b589d (diff) | |
download | wee-slack-15cabf8ba1b9daa7e28475ea46cc5a8fd478e174.tar.gz |
Support files in Slack Connect channels
Files uploaded in Slack Connect channels doesn't contain any
information, so we have to make a request to files.info in order to get
the information to render it.
See https://api.slack.com/apis/channels-between-orgs#check_file_info for
more info.
Diffstat (limited to 'tests/test_render_attachments.py')
-rw-r--r-- | tests/test_render_attachments.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_render_attachments.py b/tests/test_render_attachments.py index 45b51c4..9e47449 100644 --- a/tests/test_render_attachments.py +++ b/tests/test_render_attachments.py @@ -341,6 +341,7 @@ cases: List[Case] = [ "text": "Original message", "files": [ { + "id": "F12345678", "title": "File", "url_private": "http://link", } |