RU

How to replace a link in every post of a channel

Published: · Updated:

Short answer. Telegram has no find-and-replace across a channel's history. By hand, you open every post and edit it. The faster way is a tool that reads the whole channel the way a regular app user does, finds the link, and edits posts from an account with admin rights.

When you need it

Why not every bot will do

Regular bots work through the Bot API and see only what happened after they were added to a channel. They cannot see the history before that, and dead links sit exactly in old posts. So this job needs a tool that reads the history the way a regular app user does.

Step by step

  1. Audit. Send your channel's @username to Nexa Links Manager. You get a breakdown: how many links, which types, which repeat most, and when they were posted. Free. The full list can be downloaded as a file.
  2. Search. Check one link, a batch of links, or a whole domain. You see every post it appears in, with the date and a direct link to the message. Free.
  3. Replace or remove. Either a new link takes the old one's place, or only the link is removed and the post text stays. You see the price and the estimated time before paying.

Why this is not a small thing

Links in Telegram die all the time: bots shut down, deals end, channels move. Over the years of running a channel, dead links pile up, and they hurt both how the channel looks and its reputation: a reader taps a link in your post and lands on nothing. It was like this, it is like this, and it will stay like this.

We run a network of 350 channels. The links in it can number in the thousands or tens of thousands, and I would not take that on by hand, not even for money. It is like sifting through the sand on a beach for one particular grain. That is why we built search and replacement that go through the whole history on their own.

What cannot be fixed

Telegram does not let anyone edit forwarded posts. The bot lists them separately before any action, and you decide: delete such a post entirely or leave it as it is.

Which rights it needs

For replacement, a helper account is added to the channel as an admin with the rights to edit and delete other people's messages. The bot checks the rights before starting, and when the job is done the helper leaves the admin list.

Limits

Price

Audit and search are free. Replacement starts at $1 per 100 links, and the total is shown before you pay.

Open Nexa Links Manager in Telegram · Read the channel post