Skip to content
OSINTtools.io

telegram_scan

Verified yesterday

Menu-driven Python script that pulls user and chat details, members, media, links, contacts, locations and searches from Telegram chats.

Python CLI · Open source · Social media intelligence · github.com

Takes
Username · URL
Pricing
Free, open source
Footprint
Passive · no contact with target
Account
Needed for full results
API
No public API
Last verified
Dec 3, 2026
Summary

Menu-driven Python script that pulls user and chat details, members, media, links, contacts, locations and searches from Telegram chats. It takes username and URL. Read the cons before you build a workflow on it.

What it does

telegram_scan is a set of Pyrogram scripts behind one numbered menu. Logged in with your own account, it fetches a user's profile, the chats you are in, a chat's details and member list, and, for a given chat, lists its photos, videos, voice notes, documents, animations, links, shared contacts and shared locations, with the sender and time of each. It can also search a chat for a term and list one user's messages in it.

Results print to the terminal and are appended to a text file, which makes it a quick way to inventory what has been shared in a group, such as every location or link, and who shared it. It is a small project with no export formats beyond plain text.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

Pros
  • +Simple menu, no configuration beyond API keys
  • +Each module is a short, readable script
  • +Lists who shared each item
Cons
  • −Needs a Telegram api_id and api_hash and a logged-in account (use a research account)
  • −Plain text output only
  • −Member lists of channels need admin rights

When to use it

  1. 01Use it when you want every location, link or document shared in a group listed with its sender and time.
  2. 02Use it when you need a quick look at one account's messages inside a group you are in.
Key featuresUser and chat informationChat member listsMedia, links and documents shared in a chatShared contacts and locations with sender and timeSearch a chat for a termOne user's messages in a chat

Next steps from this result

Suggested from the inputs telegram_scan takes
  • Found a resultConfirm it with a second, independent source before you record it
  • Found a new identifierPivot on it only if your scope covers the new target
    Depends

Quick start

Run from source (put api_id and api_hash in access_creds.py)
git clone https://github.com/bret99/telegram_scan.git
cd telegram_scan
python3 -m pip install pyrogram
python3 telegram_scan.py

Technical details

Listing verified by an editor on Dec 3, 2026
API
No public API
Account
Needed for full results
Footprint
Passive · no contact with target
Pricing
Free, open source
Platforms
Python CLI
Repository
bret99/telegram_scan 75 stars
Language
Python
Licence
MIT
Last commit
May 2026
Listed
Dec 3

Reviews

No reviews yet

Written by signed-in members. Each review appears here after an editor has read it.

Used telegram_scan? Sign in to say what you used it for and how it went.

Sign in to review

Discussion

Tips, questions and updates about telegram_scan from the community.

No posts about telegram_scan yet. Ask a question or share how you use it.

Alternatives to telegram_scan

Listed tools that take the same inputs, closest match first.

telegram_scanOpen source · verified yesterday
Visit github.com (opens in new tab)