Sending bot messages to threads in Telegram chat

With the new update to Telegram, topics can be created in group chat.

I want to send messages to these topics with my telegram bot.

In the past, it was enough to forward the messages to the group using the method below. But now I have to refer to the topics in the group. Can anyone with knowledge help?

https://api.telegram.org/bot/sendMessage?chat_id=&text=

update

By responding to the message that a topic has been created in the group chat, writing a message in the topic is taking place.

If I succeed in responding via the bot, I will share how I did it here.

reply_to_message_id

Hello, thank you for sharing this!
I have the same troubles, sorry I can’t find the way on how to get 'a topic has been created ’ id. Can you help me please?