Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mo1ein/TelegramArchive
Export telegram chats.
https://github.com/mo1ein/TelegramArchive
archive pyrogram telegram telegram-bot telegram-bot-api telegram-bots telegram-desktop
Last synced: 2 months ago
JSON representation
Export telegram chats.
- Host: GitHub
- URL: https://github.com/mo1ein/TelegramArchive
- Owner: mo1ein
- License: mit
- Created: 2022-06-27T22:36:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-08T13:55:41.000Z (8 months ago)
- Last Synced: 2024-08-05T09:14:04.967Z (6 months ago)
- Topics: archive, pyrogram, telegram, telegram-bot, telegram-bot-api, telegram-bots, telegram-desktop
- Language: Python
- Homepage:
- Size: 57.6 KB
- Stars: 34
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram-Archive
### Export telegram account chats
- [x] All private chats
- [x] Specefic chats (username or ID)
- [x] export channels that restrict saving content
- [ ] All contacts in your account- #### All channels in your account
- [x] public channels
- [ ] private channels
- #### All groups in your account
- [x] public groups
- [ ] private groups### Export media in each chat
You can choose to export and download each media type in `.env` file.
```
MEDIA_EXPORT_AUDIOS=false
MEDIA_EXPORT_VIDEOS=false
MEDIA_EXPORT_PHOTOS=true
MEDIA_EXPORT_STICKERS=false
MEDIA_EXPORT_ANIMATIONS=false
MEDIA_EXPORT_DOCUMENTS=false
MEDIA_EXPORT_VOICE_MESSAGES=false
MEDIA_EXPORT_VIDEO_MESSAGES=false
MEDIA_EXPORT_CONTACTS=false
```
And also each chat.
```
CHAT_EXPORT_CONTACTS=False
CHAT_EXPORT_BOT_CHATS=False
CHAT_EXPORT_PERSONAL_CHATS=True
CHAT_EXPORT_PUBLIC_CHANNELS=False
CHAT_EXPORT_PUBLIC_GROUPS=False
CHAT_EXPORT_PRIVATE_CHANNELS=False
CHAT_EXPORT_PRIVATE_GROUPS=False
```### Export assholes chat
- [ ] Export telegram chat for each T (time: minutes) to backup asshole people chat who delete chats both-side.### Export format
- [x] json
- [ ] html## Contribute
##### That's very enjoyable for me if you contribute. You can fix `TODO`'s or any problem, bug and tasks in `README`.