Telegram DM automation
Reply to Telegram channel comments and send your link in a private chat
Pick a word, like GUIDE. When someone comments it under your Telegram channel post, the PostSyncer bot replies under their comment with a button. The button opens a private chat with the bot, where they get your link. You can ask them to join your channel, or for their email, first. It works on the posts you send from PostSyncer.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans
- Yonas · comment
GUIDE 🙏 new kettle, no idea what I’m doing
- PostSyncer bot · reply under the comment
Hey Yonas, here’s the guide you asked for. Tap below and it’s yours.
Get the guide - Yonas · DMOpened the chat with the bot
Start
- PostSyncer bot · DM
One thing first: join the channel, then tap Done.
Join the channelDone - PostSyncer bot · DM
Here it is. Happy brewing.
Open the guide
Comment to DM works on these 6 of the 14 networks
How it flows on Telegram
From a channel comment to a private chat
They comment on your channel post
A Telegram channel’s comments are messages in its discussion group, under the copy of each post. When someone comments on a post PostSyncer sent, the bot sees it at once. If it holds one of your words, the automation takes it.
The bot answers under the comment
The bot replies under their comment, in the group, with your message and a button. That reply is the only public answer on Telegram: there’s no separate line under the comment, because the bot’s reply already is one.
A private chat with your link
The button opens a private chat with the bot. When they press Start, the bot asks them to join your channel or for their email, if you turned either on, then sends your link with its button.
What they see
Under the comment, then in a chat with the bot
Telegram doesn’t let a bot message someone first, so the button is how the private chat begins.
The bot’s reply in the group
Everyone in the discussion can see the bot’s reply under the comment, with your text and your button. The button carries no link of yours, only a key that opens the private chat, so others reading the thread don’t get your link from it.
Only the person who commented
If someone else taps the button, the bot tells them it’s for the person who commented, and nothing happens. An old button for an automation that no longer runs says the link has expired.
Join first, if you ask
With the join check on, the bot sends “One thing first: join the channel, then tap Done.” with a button to your channel and a Done button. Tapping Done checks again; people already in the channel skip this.
The email and the link
With the email ask on, they type their address in the chat. The bot takes the first email it finds, asks once more if there’s none, then sends your link message and its button either way. The link counts the first open.
Do it yourself or let your agent
Set it up in the app, or ask for it in a chat
Set it up under Automations, or from the composer’s Options for a channel post you’re writing. ChatGPT, Claude or another assistant connected through the MCP server can set it up for you.
In the app
- Make sure your channel has a comment group: in Telegram, open the channel’s settings, then Discussion, and add a group.
- Open Automations, pick New automation, then Telegram, and choose the channel.
- If the setup asks, press Add the bot to make the PostSyncer bot an admin of the comment group, then Check again.
- Pick the posts, add the words and the bot’s reply with its button, and turn on the join check or the email ask if you want them.
- Add your link and its button, name it, then press Turn on.
Or ask your agent
PostSyncer connectedOn our Telegram channel, send the kettle guide to anyone who comments GUIDE on any post we send from PostSyncer. Ask them to join the channel first. Keep it off.
- list-accountsHalden Coffee channel on Telegram
- create-automationKettle guide, saved off
Saved and off. Once it’s on, anyone who comments GUIDE gets the bot’s reply with a button. In the private chat, people who haven’t joined the channel are asked to, then they get the guide link.
Telegram’s rules
What the bot needs, and what it skips
Admin in two places
The bot is already an admin of your channel, since it posts there. Comment to DM also needs it as an admin of the channel’s comment group, so it can read comments and answer them. The setup checks both and names the fix if one is missing.
Public or private channels, PostSyncer posts
PostSyncer connects public and private channels. An automation watches the posts PostSyncer sent there, albums included; a post written in the Telegram app isn’t one it knows.
Who it skips
Messages from bots, from the channel itself and from anonymous admins don’t count as comments. Comments older than 7 days, or from before you turned it on, are left alone, and each person gets it once per post.
No 24-hour window
Unlike Instagram and Facebook, Telegram puts no time limit on the chat once it started: the join check and the email ask can be answered later. Someone who blocked the bot can’t be reached and shows as “DMs closed”.
A closer look
Running it on a Telegram channel
The results
A Telegram automation shows its comments, DMs sent, who tapped the button, got the link and opened it, and the emails collected. The people list shows each comment, the email given and whether they joined.
Message sizes
Each message holds up to 640 characters and each button up to 20, well inside Telegram’s own limit. You can add up to 20 words of up to 30 characters each.
People a month
Each plan includes a number of people DMed a month. Someone counts once a month on Telegram. At the limit your automations pause until the 1st. The free plan runs one automation at a time.
Not in the comment inbox
Telegram comments go to the automation, not to PostSyncer’s comment inbox, which doesn’t read Telegram. To read the whole discussion, open the group in Telegram.
Works from your AI tools
The same feature, from your agent or your code
Your AI assistant can set up a Telegram automation, change the bot’s messages or the link, turn it on when you say so, and list the emails people gave.
The tools your agent gets
create-automationSets one up, saved off unless you ask for it onupdate-automationChanges its words, messages or link, or turns it on or offlist-automationsLists your automations and where each one standsget-automationReads one, with the numbers for each steplist-automation-peopleLists who it reached, and the emails they gaveget-automation-usageSays how many people you’ve DMed this monthdelete-automationDeletes one and its people list
FAQ
Questions about Telegram DM automation
Still not sure? Our own team answers the live chat, on every plan.
Chat with usHow do I auto reply to comments on my Telegram channel?
Connect your channel to PostSyncer with the PostSyncer bot, give the channel a comment group, and make the bot an admin of that group. Then open Automations, pick Telegram, add your word, the bot’s reply and your link, and turn it on.
Who sends the messages?
The PostSyncer bot, @PostSyncerOfficialBot, the same bot that posts to your channel. The reply under the comment and the private chat both come from it.
Why does the person have to tap a button?
Telegram doesn’t let a bot write to someone who hasn’t started a chat with it. The button opens that chat, and pressing Start lets the bot send your link.
Can I ask people to join my channel first?
Yes. Turn on the join check, and the bot asks anyone not in the channel to join, with a button to the channel and a Done button that checks again.
Is it free on Telegram?
Yes. On the free plan, one automation at a time answers comments under your channel posts, through the PostSyncer bot. Each plan includes a number of people DMed a month. Paid plans run as many automations as you like.
Does it work in private channels or groups?
Private channels, yes: PostSyncer connects public and private channels. A group can’t be connected on its own; the automation answers comments in a channel’s discussion group.
Related
Turn channel comments into private chats
Turn channel comments into private chats on every plan, Free included. Start free, no card, connect your Telegram channel and set up your first automation.
- No card for free
- Cancel anytime
- Unlimited posts on paid plans