It would be useful for the Slack integration to directly support
This would allow notifications to reply to specific threads and update specific messages.
For example, supplying slack.thread_ts would respond to the Slack message by including it in the payload of chat.postMessage:
template.app-sync-status: |
message: |
This is a reply to a thread
slack:
threadTs: "12345678.1234567"
And supplying slack.update_ts would update a Slack message by instigating a chat.update request and including its value in the ts option:
template.app-sync-status: |
message: |
This is an updated message
slack:
updateTs: "12345678.1234567"
threadTs and updateTs would both be optional, and mutually exclusive.
threadTs and the existing groupingKey would be mutually exclusive.
Non-BC-breaking.
I am not familiar with Go so I probably won't be able to implement this myself, but I'm hoping this enhancement gets support from contributors.
It would be useful for the Slack integration to directly support
thread_tsoption when posting a message, andtsargument for updating a message.This would allow notifications to reply to specific threads and update specific messages.
For example, supplying
slack.thread_tswould respond to the Slack message by including it in the payload of chat.postMessage:And supplying
slack.update_tswould update a Slack message by instigating a chat.update request and including its value in thetsoption:threadTsandupdateTswould both be optional, and mutually exclusive.threadTsand the existinggroupingKeywould be mutually exclusive.Non-BC-breaking.
I am not familiar with Go so I probably won't be able to implement this myself, but I'm hoping this enhancement gets support from contributors.