Deleted messages restoring from supergroup in Telegram (from Recent Actions menu).
You have only 48 hours after deleting and you should be admin (or owner) of group.
- Update
.env
:- Get your
API_ID
andAPI_HASH
according to this instruction - Channel ID could be found by @RawDataBot (just add to group)
- Get your
- Run script — all media will be downloaded to
media
directory, all messages will be saved indump.json