# Telegram: Conversation reports (/en/docs/tg/rankings)

See which groups are active, where questions remain and which discussions need attention. Ask for a report over a chosen period: your agent gathers metrics and helps you move from numbers to messages. Below is a weekly overview of three groups. Replace chat names, people and dates in the commands below with your own.

[Personal account](/llms.mdx/docs/tg/usage/content.md) · [Bots](/llms.mdx/docs/tg/bot/content.md) · [Administration](/llms.mdx/docs/tg/groups/content.md)

## Compare groups over a week

```text prompt
Use tg CLI. Review the Project, Parents and Renovation groups for 1–7 October: message counts, active participants, daily activity and questions without a found answer. Compare groups and show messages worth following up. State the history coverage. Do not send anything.
```

Expect an activity overview and a short action list. The largest count is not the only priority: a smaller group can also hold a question needing your decision.

[More group tasks](/llms.mdx/docs/group-analytics/content.md)

## A week in three groups

For example, an overview for 1–7 October helps you understand the workload and choose where to start. Read the totals first, then daily activity and questions to check.

**684 messages · 22 questions · 4 without a found answer**

### Daily activity · all three groups

| October day | Messages |
| --- | --- |
| 1 | 72 |
| 2 | 98 |
| 3 | 135 |
| 4 | 110 |
| 5 | 96 |
| 6 | 103 |
| 7 | 70 |

| Group | Messages | Active participants | Questions without answers |
| --- | --- | --- | --- |
| Project | 420 | 24 | 3 |
| Parents | 180 | 12 | 0 |
| Renovation | 84 | 8 | 1 |

Start with Project: the busiest group has three questions to revisit. Renovation has fewer messages, but the delivery date still needs clarification. Parents has answers for all identified questions. Ask: “Show these four questions with subsequent messages and suggest whom to answer first.”

“Question without an answer” means no answer was found in the checked history. Open the context: someone may have answered elsewhere or later. If only part of the week was checked, download the missing history and refresh the overview. Participants are counted per group; one person may appear in several.

[Download the history you need](/llms.mdx/docs/search/content.md)

## Understand a group

```text prompt
Use tg CLI. Show the Project group's description, member count, my role and available settings. Then report last week's messages, active participants, replies, reactions, joins and departures. Plot daily activity and highlight three changes worth attention. Do not send or change anything.
```

Expect a group profile and activity overview. Total members comes from the roster; active participants are people who wrote during the selected period. Telegram can also provide official statistics when your account has access.

| Metric | Value |
| --- | --- |
| Messages | 420 |
| Participant | 24 |
| Replies | 98 |
| Reactions | 180 |

Weekly example: 24 active participants out of 78 listed members. Nine joins and two departures are separate; unavailable membership history remains unknown.

```sh
tg personal chats show Project --json
tg personal stats chats show Project --since-time 7d --by day --json
tg personal stats charts Project --chart-kind active --since-time 7d --output activity.svg
tg personal stats chats official Project --json
```

[Group information and administration](/llms.mdx/docs/tg/groups/content.md)

## Top participants: posting, answering and helping

```text prompt
Use tg CLI. For the Project group over the last week, show separate rankings by messages, answers to questions and response speed. Include active days and source messages for each person. Do not combine everything into a judgment about people. Do not send or change anything.
```

Rank by messages, words, reactions, replies, answers, discussions or active days. Frequent posting and answering questions measure different things. Response time uses observed direct replies; missing data is not zero.

| Participant | Messages | Answers | Active days |
| --- | --- | --- | --- |
| Anna | 96 | 9 | 5 |
| Boris | 72 | 4 | 7 |
| Mira | 38 | 8 | 4 |

Boris wrote daily; Anna answered most questions; Mira has eight answers with fewer messages. Choose a metric for your task. A helpfulness score is a configurable combination, not a judgment of character.

```sh
tg personal stats contacts top 'date:[2026-10-01 TO 2026-10-07] chat:Project' --measure messages --limit 10 --json
tg personal stats contacts top 'date:[2026-10-01 TO 2026-10-07] chat:Project min_messages:3' --score helpful --limit 10 --json
```

[Ranking metrics and controls](/llms.mdx/docs/tg/rankings/content.md#technical-reference)

## Top posts and discussions

```text prompt
Use tg CLI. In News over the last week, find posts with the most reactions, views and replies. Give separate lists and message links. Then find widely viewed posts without discussion. State when counters were checked. Do not send or change anything.
```

See which posts attracted attention or conversation. Views and reactions are cumulative snapshots for selected posts, not necessarily gains during the week. Unknown views cannot be treated as zero.

| Post | Reactions | Views | Replies |
| --- | --- | --- | --- |
| Release | 43 | 860 | 18 |
| Meeting | 26 | 640 | 32 |
| Guide | 18 | 1200 | 0 |

Example: Release leads in reactions, Meeting in replies, Guide in views. No observed replies does not itself mean a post failed. Open the post and discussion to check.

```sh
tg personal stats messages top 'date:[2026-10-01 TO 2026-10-07] chat:News' --measure reactions --limit 10 --json
tg personal stats messages top 'date:[2026-10-01 TO 2026-10-07] chat:News' --measure views --limit 10 --json
```

[Check counter freshness](/llms.mdx/docs/tg/rankings/content.md#check-and-refresh-counters)

## Questions waiting for an answer

```text prompt
Use tg CLI. In Project, find questions waiting more than a day. Separately count Anna and Boris's answers, median response time and the time covering 90% of found answers. Show the longest waits with context. Do not send or change anything.
```

Expect a queue and response timings. For example: median 18 minutes, 90% of observed answers within two hours. Reports use direct replies in saved history; selected answerers are not automatically verified admins.

```sh
tg personal stats messages unanswered 'chat:Project older_than:24h' --json
tg personal stats contacts responses chat:Project --answerer 42 --answerer 73 --json
```

[Review group questions](/llms.mdx/docs/group-analytics/content.md)

## How newcomers settle in

```text prompt
Use tg CLI. In Project, list people who joined this month: who wrote in their first week, whose questions remain unanswered and who was observed after 1, 7 and 30 days. Identify unknown joining dates and missing member lists separately. Do not send or change anything.
```

Find people who may need help. Retention uses saved roster observations; first seeing someone is not necessarily their joining date.

```sh
tg personal stats chats newcomers Project --since-time 30d --within 7d --json
tg personal stats chats retention Project --since-time 30d --checkpoints 1d,7d,30d --within 7d --json
```

[Newcomer and retention commands](/llms.mdx/docs/tg/rankings/content.md#technical-reference)

## A report about one person

```text prompt
Use tg CLI. Prepare a weekly report about Anna: available profile details, shared chats, messages and active days per chat, questions, answers and recent agreements. Include message sources. First identify the right Anna. Do not send or change anything.
```

Expect a profile and context for the next conversation. Respect unavailable profile fields and missing history. Message counts apply to selected dates and chats.

| Chat | Messages | Active days |
| --- | --- | --- |
| Project | 96 | 5 |
| Renovation | 40 | 3 |

Anna answers Project questions and coordinates deliveries in Renovation. Ask for recent commitments and questions for your next conversation.

```sh
tg personal contacts show Anna --json
tg personal contacts context Anna --json
tg personal stats contacts top 'date:[2026-10-01 TO 2026-10-07] from:Anna chat:Project' --measure messages --json
```

[Profile and conversation context](/llms.mdx/docs/tg/people/content.md)

## Anti-bot: accounts worth checking

```text prompt
Use tg CLI. Check Project members for bot and spam signals. Show reasons, sources and unknown data for each flagged account. Prepare detailed checks only for people I select. Do not remove or block anyone. Do not send or change anything.
```

Expect a review list based on repeated text, links, profile details and other available signals. Scores sum signals; they are neither probabilities nor proof. Real people may have no photo. Telegram's detailed checks may send IDs to public spam lists; MAX does not query those lists.

| Participant | Score | Signals |
| --- | --- | --- |
| 42 | 5 | Repeated text across chats · link in first message · no photo |
| 73 | 2 | No photo · no bio |

Account 42 has several signals; inspect the repeated messages first. Account 73 only has sparse profile information, which is insufficient to identify a bot. Unknown account age or incomplete history should remain explicit.

```sh
tg personal chats members check Project 'score>=2' --max-pages 2 --json
tg personal contacts check 42 --offline --json
```

[Signals and detailed checks](/llms.mdx/docs/tg/people/content.md)

## Commands and instructions

[Review questions and group activity](/llms.mdx/docs/group-analytics/content.md#group-admins)

Use this page when you run or follow a group or channel and want facts instead of a feeling: which
messages attracted attention, who answers questions, which questions still wait, and whether
newcomers stay. You will learn what to ask your AI agent, which command it runs, what the answer
looks like and where the numbers can mislead.

Some words on this page:

- **Saved history** is the copy of messages that `tg` keeps on this computer. Every report counts
  only this copy. If the relevant messages are missing, [download the history](/llms.mdx/docs/tg/archive/content.md) first.
- **Observed** means seen in saved history. An answer, a join or a reaction that was never
  downloaded is not counted, so a missing value is unknown, not zero.
- **A counter** is a number Telegram keeps on a message, such as views or reactions.

## What you can find out [#what-you-can-find-out]

| Question | Command |
| --- | --- |
| Which messages got the most reactions | `tg personal stats messages top` |
| Who answers questions most | `tg personal stats contacts top` |
| Which questions wait for an answer | `tg personal stats messages unanswered` |
| How quickly one person replies | `tg personal stats contacts responses` |
| Whether newcomers got help | `tg personal stats chats newcomers` |
| Whether newcomers stay | `tg personal stats chats retention` |
| Which posts were viewed but not discussed | `tg personal stats messages discussion` |
| How fresh views and reactions are | `tg personal stats messages counters show` |

The requests, names and results below are fictional examples. Replace the chat name with yours. Tables show how an agent can present its answer; commands with `--json` return data for it.

## Messages people react to [#messages-people-react-to]

Find the messages with the most recorded reactions.

**Your request:**

> Show the three most-reacted-to messages in Hiking.

**Command:**

```sh
tg personal stats messages top chat:Hiking --measure reactions --limit 3 --json
```

**Example agent answer:**

> | Message | Reactions |
> | --- | ---: |
> | Packing list | 18 |
> | Trip photos | 11 |
> | New route | 7 |

Your agent can open the original messages so you can check the context. Counters are cumulative totals, not reactions received only during a selected period.

## Who answers questions [#who-answers-questions]

Compare people by their observed answers to questions.

**Your request:**

> Who answered the most questions in Hiking? Show three people.

**Command:**

```sh
tg personal stats contacts top chat:Hiking --measure answers --limit 3 --json
```

**Example agent answer:**

> | Person | Answers |
> | --- | ---: |
> | Alex Rivera | 4 |
> | Lena | 2 |
> | Sam | 1 |

Answer counts help you find examples of participation; they do not prove a person’s helpfulness.

## Questions waiting for an answer [#questions-waiting-for-an-answer]

Find older questions without an observed direct answer.

**Your request:**

> Which questions in Hiking have waited more than a day?

**Command:**

```sh
tg personal stats messages unanswered chat:Hiking older_than:24h --json
```

**Example agent answer:**

> **One question has no observed answer.**
>
> | From | Question | Waiting |
> | --- | --- | --- |
> | Ira | Who will bring the cooking pot? | 2 days |
>
> History is incomplete: an answer may be missing from the archive.

Questions are detected by a question mark outside links. A direct reply from another known person qualifies; an unrelated next message does not close the question.

## How quickly someone replies [#how-quickly-someone-replies]

See the number of answers and waiting times for a selected person.

**Your request:**

> How quickly does Alex Rivera answer questions in Hiking? Show an example.

**Command:**

```sh
tg personal stats contacts responses chat:Hiking --answerer "Alex Rivera" --json
```

**Example agent answer:**

> | Metric | Result |
> | --- | --- |
> | Observed answers | 1 |
> | Median waiting time | 2 days |
> | p90 waiting time | 2 days |
>
> Both values come from one answer, so the sample is small. I can open the question and its linked answer.

The median is the middle observed waiting time; p90 is the upper boundary for about 90% of answers. Selecting a person does not establish that they were an administrator in the past.

## Help for newcomers [#help-for-newcomers]

Check whether people who recently joined received answers to their questions.

**Your request:**

> Did newcomers to Hiking get help during their first week?

**Command:**

```sh
tg personal stats chats newcomers "Hiking" --within 7d --json
```

**Example agent answer:**

> | Newcomer | Questions | Answered |
> | --- | ---: | ---: |
> | Kate | 2 | 2 |
> | Oleg | 1 | 0 |
>
> Oleg has no observed answer. One person’s joining date is unknown, so their first week was not calculated.

By default, the report selects joins from the last 30 days. First seeing someone in the archive does not establish their joining date.

## Do newcomers stay? [#do-newcomers-stay]

Compare observed membership one day, one week and one month after joining.

**Your request:**

> How many Hiking newcomers stayed after a day, a week and a month? Show gaps in the data.

**Command:**

```sh
tg personal stats chats retention "Hiking" --checkpoints 1d,7d,30d --within 7d --timezone UTC --json
```

**Example agent answer:**

> | After joining | Stayed among observable members | Unknown | Not due yet |
> | --- | --- | ---: | ---: |
> | 1 day | 1 of 1 — 100% | 1 | 1 |
> | 7 days | 1 of 2 — 50% | 0 | 1 |
> | 30 days | No observable denominator | 2 | 1 |
>
> The denominators differ, so these percentages are not a complete retention curve. No observed message does not prove that someone was silent.

This needs known joining dates and saved member lists. Absence from a partial list remains unknown. [Saved member lists of groups you run](/llms.mdx/docs/tg/groups/content.md#member-snapshots-and-changes) help collect data for later reports.

## Posts without discussion [#posts-without-discussion]

Find viewed posts with little recorded discussion.

**Your request:**

> Which posts in News received views but no discussion?

**Command:**

```sh
tg personal stats messages discussion chat:News min_views:100 max_replies:0 --json
```

**Example agent answer:**

> | Post | Stored views | Observed replies |
> | --- | ---: | ---: |
> | New route | 240 | 0 |
>
> This is an absence of discussion in available history. Missing comments could change the conclusion.

## How fresh are the counts? [#how-fresh-are-the-counts]

Check when views and reactions were observed separately.

**Your request:**

> Check the age of Hiking’s view and reaction counts without refreshing anything.

**Command:**

```sh
tg personal stats messages counters show --chat "Hiking" --counters views,reactions --max-age 24h --limit 20 --json
```

**Example agent answer:**

> | Message field | Value | Observed |
> | --- | ---: | --- |
> | Views | 0 | 1 hour ago — fresh |
> | Reactions | 0 | 3 days ago — stale |
>
> Fields have independent freshness. A missing value is shown as unknown, not zero.

### Preview a refresh [#preview-a-refresh]

Before fetching new counters, ask for the exact messages and limits.

```sh
tg personal stats messages counters sync --chat "Hiking" --counters views,reactions --max-messages 20 --sync-time 30s --dry-run --json
```

> **Plan:** at most 20 messages, up to 30 seconds. Views and reactions are supported.
> This is a preview: no connection or refresh has occurred.

A real refresh needs your request. It reads counters from Telegram and saves observations locally; it sends no messages, marks nothing read and requests no view increment. Comments can also be refreshed where Telegram supplies them.

## If a name or history is unknown [#if-a-name-or-history-is-unknown]

When several people match, the agent shows candidates and asks you to choose. Failing to identify someone does not mean zero activity. Even an explicitly selected ID without observations remains unknown: JSON exposes `identityKnown: false`, `status: unknown`.

An empty report with incomplete history does not establish that there were no questions or answers. Ask the agent to open the source messages and show the available-history limits.

## More control [#more-control]

You can select a period, choose a measure or combined score, and save a selection for another report. Scoring formulas, exact evidence arguments and page limits live in the [shared statistics specification](https://github.com/WireCatLabs/cli-core/blob/v0.350.0/docs/rankings.md) and the [command reference for statistics](/llms.mdx/docs/tg/commands/content.md#tg-stats).

To verify a finding, ask the agent to open the question, answer or members behind that report row. Before the next report, [check archive coverage](/llms.mdx/docs/tg/archive/content.md).
