Telegram channel and group analytics with an AI agent
A recipe for a full report on a public Telegram channel: reach, what readers share, themes, posting rhythm, polls and comments, with an example report, and how a group admin follows activity.
Use this recipe when you want to understand a Telegram channel: your own, a competitor's or one you plan to advertise in. Your agent reads the channel's public posts with the tg command-line tool and writes a report: how many subscribers see a post, which posts readers pass on, which themes and formats work, and what to try next. You need a Telegram account that can open the channel. You do not need to be an admin.
On this page:
- What you get
- Before you start
- Ask your agent
- What happens
- How long it takes
- The commands your agent runs
- Check the result
- What it cannot see
- Adapt the themes
- Example channel report
- For a group
- Group admins
- Privacy
What you get
See the example report on @AI_DeepLearning, an English channel of 17k subscribers that reviews computer-vision papers. It covers 1,582 posts from 2017 to October 2026 and one year of comments. It shows:
- Reach: the share of subscribers who see a typical post, and how views changed by month and by year.
- Lift: each post's views compared with the posts around it, so old and new posts can be compared fairly. A post with lift 1.5 or more "breaks out".
- What readers share: forwards and reactions per 1,000 views, by format, length, theme and opening line.
- Rhythm: posting days and hours, and what happens on days with one post against days with three.
- Polls and comments: turnout, the biggest polls, how many people comment and how often the author answers.
- A reading: what works, what could be better and experiments to run, each backed by a number.
The example found, for instance, that readers forward posts with released code more often (5.3 times per 1,000 views, against 4.0 for the channel), and that views fell about 40% after a three-month pause in posting and did not come back.
We made the example with our own internal script. The script is not published. The steps in Ask your agent use only public tg commands, so your agent can produce the same kind of report.
Before you start
- tg is installed and logged in to your Telegram account. See Installation.
- Your account can open the channel. A public channel is enough; you do not have to join it.
- An AI agent that can run commands on your computer. See Connect your agent.
- For a scripted analysis, Python 3.11 or later. Your agent can also analyse the data without a script.
Ask your agent
Use tg CLI. Make an analytics report on the Telegram channel @example_channel. Read all its posts, the polls and the comments under posts of the last 90 days. Save the raw data in a local folder. Then measure reach, lift, forwards and reactions per 1,000 views, themes, posting rhythm, polls and comments, and write a one-page HTML report with charts and what you think it means. Count commenters but never name them. Read only: do not join, react, vote or comment.Replace @example_channel with the channel you want. For a channel on another subject, tell the agent its themes;
see Adapt the themes.
For a full report like the example, copy the detailed request at the top of the example report. It lists every command, measure and section.
What happens
- The agent reads the channel. It asks Telegram for the channel's title, description and subscriber count.
- It reads every post, 100 at a time. Each post comes with its views, forwards, reactions and comment count.
- It reads the polls and the comments. It opens the comments only under recent posts that have some.
- It saves the raw data on your computer. Nothing is sent anywhere else.
- It analyses the data and writes the report. This step does not touch Telegram.
All the steps only read. The agent does not join the channel, react, vote or comment.
How long it takes
Reading posts takes about 1 minute per 1,000 posts. Comments take about 1 minute per 15 posts that have comments. For the example, the posts took about 1 minute, and one year of comments (71 posts) took about 3 minutes. The analysis and the written report take the agent another few minutes.
Keep the comment period short for a large channel. Each post with comments is one more request to Telegram, and Telegram may ask the account to wait if there are too many.
The commands your agent runs
Here the profile is called personal. Use the name of your own profile.
tg personal --json chats show @example_channel
tg personal --json messages list @example_channel --limit 100
tg personal --json messages list @example_channel 'id<1201' --limit 100
tg personal --json messages comments @example_channel 1250 --limit 100
tg personal --json polls show @example_channel 1189chats showgives the title, the description and the subscriber count (participants_count).messages listgives the newest 100 posts. To read older posts, addid<N, where N is the oldest id on the previous page. Repeat until a page comes back empty.- An album (several photos or videos sent together) arrives as several messages with the same
groupedIdinprovider_metadata. Count it as one post. - Each post has
views,forwardsandcommentsinprovider_metadata, and its reactions inreactions. Polls carry their question and total votes inprovider_metadata.poll. messages commentsgives the comments under one post. Each comment has its author's name, so keep these files private.polls showgives one poll's answers with their vote counts, when Telegram shows them to your account.
Check the result
A complete report says how many posts it read and from which date. Compare that number with the id of the newest post. The gap is deleted posts, extra album parts and service messages, such as "channel created" or a pinned message. Service messages have no views and are not posts. In the example, the newest id was 1758 and the report counted 1,582 posts.
The report should tell measured numbers apart from guesses. A sentence such as "views fell after the break" is a measurement. "Some readers muted the channel" is a guess: Telegram does not show it.
What it cannot see
- Subscriber history. Telegram gives the subscriber count only for today. Growth, where subscribers come from and views by hour are in the channel's official statistics, which only admins can open.
- Deleted posts. They are gone from the history.
- Answers of some polls. For a poll your account did not vote in, Telegram can give only the total.
- Old views. The earliest posts of some channels have no view count.
Adapt the themes
The report finds themes and opening lines by keywords. A list made for one channel does not fit another. Give your agent the themes in your request, for example:
Themes for this channel: 3D reconstruction (3D, NeRF, mesh, depth), human pose and motion (pose, motion, avatar), image and video generation (diffusion, GAN, text-to-video), LLMs (LLM, VLM, GPT). Also count posts that say the code is released and posts that say it is only announced.Read the posts first, then choose keywords. Check a few posts in each theme. Keywords are rough: "motion" also finds a robot's motion.
Example channel report
To make a report like this on your own channel, copy this request into your AI agent. It says which data to read
with tg, what to measure and how to lay out the page. Replace @example_channel with your channel.
Make an analytics report on the Telegram channel @example_channel, like the example at https://wirecat.dev/en/docs/group-analytics.
First ask me which tg profile to use. Put it in every command as tg <profile> …; never pick a profile yourself.
Read only: do not join the channel, react, vote, comment or mark anything as read.
1. Collect the data
- Make a folder channel-report/example_channel/ with raw/ inside. Keep all raw data on this computer. Do not upload it anywhere.
- Profile: tg <profile> --json chats show @example_channel. Keep the title, the description, participants_count (subscribers) and today's date.
- Posts: tg <profile> --json messages list @example_channel --limit 100 gives the newest 100. For older posts, run it again with 'id<N', where N is the oldest id on the previous page. Stop when a page is empty. Save each page in raw/ as you go, so you can continue from the last id after a stop.
- Check the fields on the first page before you go on: views, forwards, comments and groupedId in provider_metadata, reactions in reactions, a poll in provider_metadata.poll. If a name is different, use the one you see.
- Comments: for posts of the last 12 months that have comments, run tg <profile> --json messages comments @example_channel <post id> --limit 100, with 'id<N' for the next page. For a channel with many comments, keep it to the last 3 months.
- Polls: for each poll, run tg <profile> --json polls show @example_channel <post id>. Telegram shows each answer's votes only for polls this account voted in; the total shows for all.
- Be gentle with Telegram: one request at a time, and a pause of 1 to 2 seconds between pages. If tg says to wait, wait that long, then continue. Reading takes about 1 minute per 1,000 posts and about 1 minute per 15 posts with comments.
2. Clean the data
- An album is several messages with the same groupedId. Count it as one post: take the highest views of its parts and the text of the part that has text.
- Leave out service messages and posts without views. Write down how many posts are left and the date of the first one.
- Use UTC for all times.
3. Measure
- Reach: median views of the posts of the last 90 days, divided by subscribers. Median views per post by month and by year, with the number of posts.
- Lift: a post's views divided by the median views of the 40 nearest posts by date. A post with lift 1.5 or more breaks out. Use lift, not raw views, to compare old and new posts.
- Engagement: forwards, reactions and comments per 1,000 views, for the channel and for each group below.
- Formats: text only, photo, video, album, poll, link, file. Length: no text, under 300, 300 to 800, over 800 characters.
- Themes: read about 50 posts first. Then write 4 to 8 themes for this channel, each with its keywords, and check a few posts in each theme. Also group posts by how they open (the first words) and find sponsored or referral posts (ad labels, promo codes, partner links). Put the keyword lists in the report.
- Rhythm: posts by weekday and by hour. Lift by time since the previous post (under 3 hours, 3 to 24 hours, 1 to 2 days, over 2 days) and by posts on the same day (1, 2, 3 or more). Find breaks of 14 days or more and compare median views in the 60 days before and after each one.
- Polls: votes divided by views for each poll, by year, and the biggest polls with their answers.
- Comments: the number of comments and of different people who wrote them, the share written by the top 10% of people, the share of people who wrote only once, and how often the channel answered and under how many posts. Count people; never name them.
- Links: the sites the channel links to, direct links against short links (bit.ly and similar), and the @accounts its posts mention.
- Breakouts: the top posts by lift, by forwards per 1,000 views and by comments, each with its date, first line, format and theme.
- Compare periods: the last 90 days against the 90 days before, and this year against last year.
4. Write the report
Write one HTML file, channel-report/example_channel/report.html, that opens on its own. Use these sections, in this order:
- The channel: name, description, subscribers, posts read, the period and the date of the data. Then a row of 4 to 6 key numbers.
- What the numbers say: 6 to 8 findings. Each starts with one bold sentence that has the number, then one line of detail.
- What it means and what to do: the channel as the data shows it, its readers, what works, what could be better, and 3 to 5 experiments. Each point gives the number behind it, and each experiment says how to measure it.
- Over time: a chart of posts per month and median views, and a table by year.
- Rhythm: lift by time since the previous post and by posts per day; weekdays and hours.
- Content: per 1,000 views by format and by length; themes and how the theme mix changed; openings; sponsored posts.
- Top posts: tables of breakouts, most forwarded and most discussed, each linked to https://t.me/example_channel/<post id>.
- Readers: comments, polls and reactions.
- Links: linked sites and mentioned accounts.
- How this was measured: the source, the dates, what was left out, the theme keywords and what Telegram does not show.
Design:
- It must read well on a phone: no sideways scrolling at 400 px width; wide tables scroll inside their own box.
- Support light and dark mode with prefers-color-scheme. Use one clear sans-serif font and tabular figures for numbers.
- Draw charts as inline SVG, or load Chart.js from one pinned version (for example https://cdn.jsdelivr.net/npm/[email protected]). No other external scripts, fonts or trackers.
- Give every chart a title and a one-line caption that says what to see.
- Keep facts and guesses apart. A number from the data is a fact. Start each guess with "Our guess:". Telegram does not show subscriber history, where subscribers come from or why readers act, so do not state these as facts.
- Privacy: no names, usernames, profile links, phone numbers or email addresses of readers. You may quote the channel's own posts; do not quote comments.
5. Finish
- Keep any script you wrote next to the report, so I can run it again later.
- Open the report and check that every section has data, and that the post count and dates match what you read.
- Search the report for "@", "t.me/" and phone numbers, and remove anything that points to a reader. The channel and the accounts its posts mention may stay.
- Then tell me where the files are, how many posts and comments you read, and the 3 most important findings. Do not share or upload the report: I will review it first.Inside @AI_DeepLearning
The channel
What the numbers say
23.9% of subscribers see a typical post. The median post of the last 90 days got 4.1k views; the channel has 17.3k subscribers.
Median views per post peaked in 2024 at 8.1k; 2026 stands at 4.8k. Posts per year: 2017 89, 2020 31, 2021 172, 2022 445, 2023 249, 2024 220, 2025 203, 2026 151 (busiest: 2022).
Posts that follow another within < 3 h average 1.0× lift; after 2+ days of quiet, 1.03×. 0.0% against 2.4% break out (1.5× or more).
Long posts get shared most. Posts of 300–800 characters get 4.6 forwards per 1,000 views; posts of no text get 2.7.
Polls (10) trade sharing for talk. 0.0 forwards per 1,000 views against 1.2 for text posts; 1.4 comments against 0.3. 0.0% of polls break out.
Strongest theme: Vision-language & LLMs (1.3% of 78 posts break out). Weakest: Robots & driving (0.0% of 86).
Best opening: «Code released» / repo under a licence, 2.5% break out against 0.9% for all posts (197 posts).
26 people wrote 144 comments under posts since 2025-10-16. The top 10% of them wrote 55%; 54% commented once. The author replied 49 times, under 34 of 71 posts.
What we think it means, and what to do
Written by an outside reader from public data only. The numbers are measured; lines marked our guess are interpretation, and you know the reasons better than we do.
Your channel, as the data shows it
- One author, one format, nine years. Since 2022 almost every post is the same card: an emoji-framed title, two lines on a new paper, then Review, Paper, Project and Code links. 1,218 of 1,582 posts open this way, and 1,112 carry a short video.
- Readers keep and pass on more than they react. The channel has 26.3k forwards against 20.1k reactions: 1.3 forwards for every reaction. For a paper digest this is the signal that counts. People save a paper or send it to a colleague.
- The subject is still computer vision first. Pose, motion and avatars (496 posts) and 3D reconstruction (432) lead. Vision-language models and LLMs are a small theme, but they grew from 12 posts in 2022 to 22 in 2025.
Your readers
- For them Telegram is the main source, not a copy of LinkedIn. In your January 2025 poll, 297 of 573 voters picked Telegram as their favourite source of AI updates, and 185 picked LinkedIn.
- A typical post now reaches 24% of the 17.3k subscribers: 4.1k views at the median over the last 90 days.
- The comment section is small by design. Comments are open only to members you accept into the discussion group (your September 2025 poll asked about this and got 524 votes). From 16 Oct 2025 on, 26 people wrote 144 comments under 71 posts. One reader wrote 52 of them, more than a third. You answered 49 times, under 34 posts. The first comment usually comes 45 minutes after the post.
What works
- worksCode that is out today. 197 posts say the code is released or name its licence ("Repo under Apache 2.0💙"). Readers forward them 5.3 times per 1,000 views, against 4.0 for the whole channel and 4.6 for the 108 posts where the code is only "announced". Breakouts are too rare here to compare: 5 of the 197, and 15 of all 1,582 posts.
- worksBig learning resources travel furthest. The four most-forwarded posts are not single papers. They are a guide to modern computer vision (160 forwards), a Stanford course on generative AI (139), Meta's Segment Anything (126) and this month's "Computer Vision ultimate collection" (122). The last one is already the most-forwarded post of 2026, at a time when views are at their lowest.
- worksVision-language and LLM posts get shared. They have the highest forwards per reaction of any theme (1.69) and 4.9 forwards per 1,000 views. There are only 78 of them, so there is room to grow.
- worksYour own voice. The 17 posts where you write as yourself ("Dear friends", "Hi everyone") get 11.4 reactions per 1,000 views. One of them, the June 2025 note about a break, has 455 reactions on its own. Without it, the other 16 still get 6.8, more than twice the channel's 3.0. Readers care about the person behind the digest. These posts are rarely forwarded (0.6 per 1,000 views), which is expected: they are for the people already here.
- worksOne post a day. On days with a single post, 2.1% of posts break out and readers forward 4.5 per 1,000 views. On days with two or more posts, none of 877 broke out, and forwards drop to 3.0–3.5.
What could be better
- fixReach never came back after the 2025 break. From May to July 2025 the channel posted 3 times. In the six months before the break, the median post got 8.4k views, 17 reactions and 36 forwards. In the six months after it, 5.0k views, 11 reactions and 22 forwards: about 40% less on every count. September 2026 is lower still, at 4.0k. Our guess: during the quiet months some readers muted the channel or left, and the posts since then reach a smaller active audience. The subscriber history that would show it is in Telegram's admin statistics, which we can't see.
- fixTelegram shows the same shape as your October post about LinkedIn. You wrote there that engagement grew while impressions fell. Here too, the median engagement rate rose from 0.6% in 2022–2024 to 0.8% in 2026, while median views fell 41% from 2024 and median reactions per post fell from 17 to 12. Telegram has no feed algorithm for channels: a post reaches the subscribers who still open the channel. Here the fall starts at the 2025 break.
- fixMost links hide where they go. The posts carry 1,845 short or LinkedIn links (t.ly 643, bit.ly 524, lnkd.in 466, linkedin.com 212), against 178 direct arXiv links and 143 direct GitHub links. A Telegram reader who taps "Review" lands on LinkedIn. Our guess: that is the point, since LinkedIn is your main platform. But the readers who voted for Telegram want the paper and the code, and a forward with a bare t.ly link tells the next person nothing.
- fixBursts of live posts fall flat. On 24–25 September 2025 the channel sent 39 messages, most of them photos from an Nvidia event in Milan. All 8 of the weakest posts of the last two years come from those two days, at 0.67–0.82× their period's views.
- fixBare links did nothing. The 139 link-only posts of 2021–22 got 0.7 forwards and 0.2 reactions per 1,000 views. The channel grew only after the move to the paper card in 2022, when median views went from 232 to 2.8k.
Experiments worth running
- tryDirect links first for four weeks. Put the arXiv and GitHub links at the top and the LinkedIn review last. Compare forwards per 1,000 views with the four weeks before.
- tryWait for the code. Post a paper when its code is out, and put "code + licence" in the first line. Keep "announced" papers for a weekly round-up. The data shows that released code is what readers pass on.
- tryA monthly resource post. Courses, surveys and collections are the four most-forwarded posts ever. One a month, with the best papers of the month, costs little and fits the format that travels.
- tryTurn events into one post. Cover a conference in one album or one evening summary instead of a stream of photos.
- tryAsk the quiet majority again. 524 people voted on the comment setting and 433 on what to post next. A short "what did you build with a paper from here?" post, with comments open for a week, would show whether the readers who forward also want to talk.
Output and views over time
Posts per month and median views per post
Bars: posts in the month. Line: median current views of those posts. The last month is still collecting views.
Year by year
ER (engagement rate) = (reactions + forwards + comments) ÷ views, median per post. Negative = share of 💩 👎 🤬 🤡 🤮 😡 among all reactions that year.
Does posting more often cost views?
Lift by time since the previous post
Lift = a post's views ÷ the median views of its 40 nearest posts; 1.0 is a normal post for its period. Line: share of posts that reach 1.5× or more.
Lift by posts on the same day
Every post of a busy day counts toward that day's bucket.
When posts go out (UTC)
Darker cell = more posts in that slot. Madrid is UTC+1 in winter and UTC+2 in summer.
Lift by weekday
Lift by hour (UTC)
Hours with fewer than 15 posts are hidden: too few to trust.
What earns attention
Per 1,000 views, by format
By text length
Characters of text, polls left out. Bars: forwards per 1,000 views. Line: share of posts reaching 1.5× lift.
Themes
Keyword matching on the text, so a post can count toward several themes. Hit rate = share of posts with lift ≥ 1.5. Forwards per reaction: above 1, readers pass the post on more than they react to it, which usually means a useful post rather than a pleasant one.
Theme mix over time
How a post opens
Patterns in the first line. The last row is the whole channel, for comparison.
Referral and sponsored posts
The posts that mattered
Who is reading, and how they take part
The comment section, posts since 2025-10-16
Polls: how many viewers vote
Median votes ÷ views per poll, by year. Bars: polls that year.
Reactions, all time
Biggest polls
Each answer's count shows only for polls this account voted in; the total shows for all.
Where the channel points
Linked sites
Mentioned accounts
How this was measured
- Source: every post the channel returns today, read with the tg CLI from a member account. Deleted posts are gone. Posts without a view count (the earliest ones and service messages) are left out. An album counts as one post.
- Views, reactions, forwards and comments are today's totals. Old posts reached a smaller audience, so comparisons use lift (views ÷ median of the 40 nearest posts), not raw views.
- Telegram gives the subscriber count only for today, and the channel's official statistics only to its admins. So there is no subscriber growth curve, no source of new subscribers and no view-through rate per hour.
- Themes, openers and sponsored posts come from keyword matching. They are rough.
- Comments: every comment under posts since 2025-10-16. Readers are counted, never named.
- Times are UTC. Made with our internal script on the public
tgcommands; the recipe is in the cli-docs guide "Group and channel analytics".
For a group
The same commands read a group's messages, but a group has no views or forwards per message. For your own group, measure activity, active people and unanswered questions; see Group admins.
Group admins
If you run a group, use a report to find questions awaiting a reply, understand activity and review who is in your group. Start with a reading task and check its sources before changing members or moderation rules. Your account or bot needs the appropriate group rights for changes.
Find what needs attention
Review yesterday’s messages in my project group. List questions still awaiting a reply, with sources. Check later messages before calling a question unanswered. Only read; do not change the group.Review the questions, checked period and cited messages. If history is missing, download the relevant chats before treating the report as complete.
Ask your agent to review unanswered questions and mentions, with links to the messages. Read Telegram group tasks or MAX group tasks for the commands.
tg personal review --unanswered 24h
max personal review --unanswered 24hCheck the suggested replies before sending them. A report is based on the history available locally: missing messages can change its picture of the discussion.
Understand activity
tg personal stats chats show "Team" --since-time 7d
max personal stats chats show "Team" --since-time 7dLook at messages, active participants and questions answered. Missing history limits the report; fetch more before drawing conclusions. Low activity does not prove someone is inactive outside the messages you hold. Try search for a particular discussion.
For a full report on a channel, with reach, what readers share, themes and comments, follow Group and channel analytics. To see what such a report looks like first, open the example channel report.
Review membership
A member audit shows signals and reasons, not a verdict about a person. Review the evidence before removing anyone. Telegram and MAX provide different information, so some signals may be unavailable. Check a whole group shows the member audit command; People also covers profiles and shared conversations.
Recorded membership history starts when you fetch snapshots. It cannot reconstruct all earlier joins and departures. Both tools can fetch tracked groups while their server is running. See what is recorded and when it is refreshed in the group guides for Telegram and MAX.
Set rules and enable moderation
The CLI can help with rules, invitations and member management. Start with a preview, confirm which action you want and who it affects, and give the bot or profile only the rights needed. Removing a person or changing a link affects the group immediately.
Telegram administration · MAX administration · Permissions
Privacy
- Keep the raw data on your computer. Comments carry the names and usernames of the people who wrote them.
- Do not publish readers' names. Count commenters; do not list them. Before you share a report, check it for usernames, links to people's profiles, phone numbers and email addresses. In the example report, readers are only counted.
- Posts are public, people are not. Quoting a channel's own posts is fine. A quote from a comment can identify a private person: leave it out or ask them first.
Next, compare two channels: run the same request for a second channel with the same themes, and ask your agent to put the two reports side by side.