I didn't find it using the way mentioned in the main answer, but you can find the topic id in another way.
data-thread-id