From 777391576ff2159976315d1786514a75cda06e34 Mon Sep 17 00:00:00 2001 From: Nikolay Shulyakovskiy Date: Fri, 9 Aug 2024 17:14:56 +0300 Subject: [PATCH] Support publishing a messge to a specific thread https://api.slack.com/interactivity/handling#publishing_in_thread --- chat.go | 1 + 1 file changed, 1 insertion(+) diff --git a/chat.go b/chat.go index 916d05a93..a9bf86b52 100644 --- a/chat.go +++ b/chat.go @@ -377,6 +377,7 @@ func (t responseURLSender) BuildRequestContext(ctx context.Context) (*http.Reque req, err := jsonReq(ctx, t.endpoint, Msg{ Text: t.values.Get("text"), Timestamp: t.values.Get("ts"), + ThreadTimestamp: t.values.Get("thread_ts"), Attachments: t.attachments, Blocks: t.blocks, Metadata: t.metadata,