How to insert current topic id to the first post

Not very clear. I just want to embed on first post of some topic.