menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Technology News

>

How I Reco...
source image

Hackernoon

1w

read

59

img
dot

Image Credit: Hackernoon

How I Recovered Deleted Telegram Messages and Media (and You Can Too)

  • Dmitrii Gusev, a Frontend Developer, accidentally deleted years worth of Telegram group chat data, including media and messages.
  • Telegram doesn't offer an official method to restore deleted group messages or media.
  • Dmitrii reverse-engineered Telegram's Admin Log using MTProto API to access deleted content.
  • He rewrote a script to extract deleted text messages, download media files, and export data into a clean dump.json.
  • The recovery tool was built using Telethon, a Python library for interacting with Telegram's MTProto API.
  • The script successfully recovered all media files deleted in the accidental wipe after running for approximately 8 hours.
  • Instructions on how to use the recovery tool are provided in the post.
  • Lessons learned include the temporary storage of deleted content for group chats by Telegram.
  • Access to deleted data via MTProto is possible within 48 hours of deletion, specifically for group chats.
  • The tool is open to contributions, suggestions, and bug reports.
  • Dmitrii's technical dive into recovering deleted Telegram data serves as a useful tool for similar situations.

Read Full Article

like

3 Likes

For uninterrupted reading, download the app