Is there a way to retrieve the slack thread of an inbound message?

(Anthony Acevedos) #1

Hi all,

Does anyone know if there is a way to get the thread_ts (the thread id) from a slack message.
I want to have my slack bot respond to channel messages in a thread, rather than a new message in the channel.
Thanks!