A Tool to download a entire Chat from Telegram to have a handy backup.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
MrBesen d32af73933 download all chats at once. 2年前
.gitignore download all chats at once. 2年前
README.md download all chats at once. 2年前
config.ini added config, nice format, numbered chats 2年前
telegramApi.py download all chats at once. 2年前



A CLI program to download a chat from telegram.

How to install (linux only)


install requirements:

sudo apt install python3-pip git
pip3 install telethon

get the downloader: git clone https://github.com/mrbesen/TelegramChatDownloader.git

open the file config.ini and enter your API ID, hash and username.

Then run:

cd TelegramChatDownloader/
Output Format

The chat structure is stored as “chat.xml” in the folder “out/” All Media-files are Stored in the folder out/media/

Stickers get downloaded too, but they wont get a file-postfix. They are stored in the WEBP format.

A sample chat.xml could look like this:

    <msg>Thats sick</msg>