Skip to content

Support Slack message updates and replies by ts #187

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions