Spaces:
Paused
Paused
removed previews on create_thread (doesn't add any additional useful info + is more noisy)
Browse files
app.py
CHANGED
|
@@ -155,7 +155,9 @@ def post_to_slack_create_thread(channel, text, thread_ts=None):
|
|
| 155 |
response = slack_client.chat_postMessage(
|
| 156 |
channel=channel,
|
| 157 |
text=text,
|
| 158 |
-
thread_ts=thread_ts
|
|
|
|
|
|
|
| 159 |
)
|
| 160 |
return response['ts'] # Return the Slack message timestamp (thread ID)
|
| 161 |
except SlackApiError as e:
|
|
|
|
| 155 |
response = slack_client.chat_postMessage(
|
| 156 |
channel=channel,
|
| 157 |
text=text,
|
| 158 |
+
thread_ts=thread_ts,
|
| 159 |
+
unfurl_links=False,
|
| 160 |
+
unfurl_media=False
|
| 161 |
)
|
| 162 |
return response['ts'] # Return the Slack message timestamp (thread ID)
|
| 163 |
except SlackApiError as e:
|