Skip to main content
This tool uses the Telegram account on Triggers. It does not use the Instance bot. On an Agent it is one tool. Turn actions on or off. The model fills peer (a username, numeric id, or t.me link to the chat) and the other fields. For a forum topic, append /topicId to peer or pass a t.me/…/message link; do not put the topic id in peer alone. The topic id comes from topicId= on the incoming message or a history line, or from List forum topics. Any message id inside a topic also works after /. /1 or a message in General posts to General. When Telegram account started the Run, this turn already has that chat’s id, and topicId when the message came from a topic: pass them as peer, for example -1001234567890/18. Whether a send is allowed depends on Replies on Triggers. When Listen to chats the agent writes to is on, a successful send starts listening in that chat. On the canvas the node runs one action. Set the action and its fields on the node.

Output

On the next node, Previous nodes lists the Tool name and Result. The Result is a short status, not the message body. A send, file, sticker, forward, bot result, or poll Result includes messageId of the new message, and topicId when it went into a forum topic, for example Sent to -1001234567890 messageId=4521 topicId=18 (120 chars).