Skip to content

A Telegram Bot that can migrate messages from WhatsApp moving audio, video, attachments, links; preserving author names, and message ordering

License

Notifications You must be signed in to change notification settings

maricn/whatsapp-migrator-telegram-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhatsApp Migrator - Telegram Bot

Telegram bot for migrating your existing WhatsApp group chats. Looking for maintainers!

How

  1. EXPORT ARCHIVE - Go to your WhatsApp chat, menu (three dots), more, "Export Chat" and save the zip file on your phone.
  2. START CHAT - Open Telegram and start a new chat or navigate to your destination chat.
  3. ADD BOT - Add our bot to the chat - @whatsapp_migrator_bot.
  4. UPLOAD ARCHIVE - Reply to the bot's message with your exported zip file.
  5. SETUP USERS - Follow the bots instructions to setup user mappings. a. Best to have all users added to the group and turn off their notifications as there will be a storm of messages.
  6. IMPORT - Start the import process.

Caveats

  • DON'T TRUST ME - RUN YOUR OWN BOT!
    • I'll keep running code from main branch on @whatsapp_migrator_bot, but I will not run a regular security audit of it. I waive all responsibility for anything that bot does or doesn't do with your account and your data.
  • Exporting chats is not available in Germany since early 2020.
  • Import is deliberately slow (~1000 messages per hour) so the bots don't get rate limited for posting too many messages.

Why

If you wish to migrate from WhatsApp to Telegram and to preserve your old chat history.

Why not use existing solution

There's few of them but I couldn't find one that:

  • has username mappings from WA to Telegram users (+w/ @mentions)
  • send original timestamps with migrated message
  • preserve chronological ordering between messages
  • upload all audio and video files to the group
  • is open source (FLOSS)

Credits

Different similar solutions:

Used in this bot:

  • puregram - used under the hood to work with Telegram API

About

A Telegram Bot that can migrate messages from WhatsApp moving audio, video, attachments, links; preserving author names, and message ordering

Resources

License

Stars

Watchers

Forks