Import from Telegram

To export data, download the Desktop Client, then click Settings > Export Telegram data and choose JSON format.

Point the cli to one of the chat folders with a result.json file and you will see a printed set of message entries in JSON format.

panrec -i "/path/to/Telegram backup/username"

Specify an output path to write the entries to csvs.

panrec -i "/path/to/Telegram backup/username" -o /path/to/target-dataset

Learn more about panrec in other User Guides and the Requirements. For a complete list of CLI commands and flags, see Reference.