Planned to add:
- Pulling all types of messages
- Ability to export the history of several chats
- Saving to disk
- Statistics collection
- add
App.configtosrc/Telegram Backups
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="api_id" value="<YOUR_API_ID>" />
<add key="api_hash" value="<YOUR_API_HASH>" />
<add key="phone_number" value="<YOUR_PHONE_NUMBER>" />
<add key="first_name" value="<YOUR_FIRST_NAME>" />
<add key="last_name" value="<YOUR_LAST_NAME>" />
<add key="password" value="<YOUR_2FA_PASSWORD>" />
<add key="token" value="<YOUR_TOKEN>" />
<add key="limit" value="100" />
</appSettings>
</configuration>explanation:
api_id- Telegram API IDapi_hash- Telegram API Hashphone_number- Telegram phone numberfirst_name- Telegram first namelast_name- Telegram last namepassword- Telegram 2FA passwordtoken- yandex disk oauth tokenlimit- messages saved per chat
- add
chats.jsontosrc/Telegram Backups/data
{
"chats": [
{
"name": "Jack",
"id": 000000000
},
{
"name": "Jill",
"id": 000000001
}
],
"total":2
}- build and run image
docker build -t telegram-backups:latest src/Telegram\ Backups
docker container run --rm -it telegram-backups:latest bash then you must follow the instructions in the terminal.
created by UltraGeoPro