I would like the bot not to send the message in the standard group but in a specific Topic.
How to do that?
Hello @sprachencafewien,
First off, welcome to Pipedream! Happy to have you!
I have searched for this and it seems like sending a message to Telegram topics work similarly to replying to a message.
Basically you will need to find your topic’s message_thread_id
. Following the answer here, I paste the important part below
You can try to get the message_thread_id
from the message link.
- send a message to the topic you need from the application
- right click on the sent message and choose “Copy message link”
- paste link somewhere
- you will see something like this:
https://t.me/c/1112223334/25/33
- the value
25
(value after long number) from the link will bemessage_thread_id
I assume that -100
+ 1112223334
- will be equal chat_id
The number after will be message_thread_id
And the last one should be message_id
After you have the message_thread_id
or message_id
, you can try to pass it in Pipedream - Telegram Send Text Message or Reply, on the prop Chat ID or Original Message ID