App Logo
web.telegram.org

Telegram — List conversations

List the conversations in the Telegram Web chat list, newest first: each one's name, its peer id (the handle every other Telegram script uses to open it), the last message preview, the time shown on the row, and the unread count. Scrolls to load older conversations up to the requested count. Returns an empty list when the account has no conversations, which is a real answer rather than a failure.

Input

count optional

Maximum conversations to return, scrolling the chat list to load older ones.

Default: 30

Output

chats required

Conversations in the order the chat list shows them (most recent activity first). Empty when the account has none.

count required

How many conversations were returned.

state required

"ready" when the chat list rendered rows. "empty-or-syncing" when the app shell mounted but no rows appeared, which is how an account with no conversations looks - report it rather than treating an empty list as a failure. Being signed out throws instead, so it can never be confused with either.

FAQ

List the conversations in the Telegram Web chat list, newest first: each one's name, its peer id (the handle every other Telegram script uses to open it), the last message preview, the time shown on the row, and the unread count. Scrolls to load older conversations up to the requested count. Returns an empty list when the account has no conversations, which is a real answer rather than a failure.
Optional: count.
It returns chats, count, state.
Yes. It acts as you on web.telegram.org: on your own Chrome it reuses your session, and on a Reduck-hosted browser it loads the web.telegram.org cookies saved by the Reduck extension.
It only reads. It looks things up on web.telegram.org and changes nothing there.
Ask an AI agent connected to Reduck to run reduck/web.telegram.org/get_inbox, or run it from a terminal with the Reduck CLI: npx @reduck-ai/cli@latest run --script reduck/web.telegram.org/get_inbox
It is part of Reduck's official curated catalogue.

Start building not clicking