回答編集履歴
1
不要な部分を削除
answer
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
response = requests.post(
|
29
29
|
url="https://slack.com/api/files.upload",
|
30
30
|
headers={"Authorization": f"Bearer {token}"},
|
31
|
-
params={"channels": channel_ids
|
31
|
+
params={"channels": channel_ids},
|
32
32
|
files={"file": f},
|
33
33
|
)
|
34
34
|
print(json.dumps(response.json(), indent=4, sort_keys=True))
|