Getting the thread details in "desk.ticket.thread.moreaction" widget

Getting the thread details in "desk.ticket.thread.moreaction" widget

Hi all,

I'm trying to build a widget which looks at a specific thread in a ticket.  It's triggered by the user clicking the widget in the desk.ticket.thread.moreaction location.

It stands to reason that since this is triggered from a specific thread, not the ticket as a whole, I should be able to get a reference to the thread that was clicked, or at least the Thread Id via the SDK.  Is there a way to do this?  I can't for the life of me find it.

Thanks for any help