vkedwardli / TelegramChatHistoryImporter

GNU General Public License v3.0
5 stars 0 forks source link

Telegram Chat History Importer

This app will import your conversations from WhatsApp or other services (using a txt file obtained from the chat provider) into Telegram.

Currently it supports:

Briefly, Telegram Chat History Importer can turn your exported plaintext conversations into a 1:1 format from this:

Into this:

How to use?

  1. Export your WhatsApp conversation (with attachments as you wish)

  1. Get your Bot API Key from @botfather (Creating a new bot guide)
  2. Add your bot into a chat, and get the target chatId (Use @getidsbot if you don't know how to use the API)
  3. Extract the WhatsApp zip contents into the project folder
  4. The bot will inject the history every 3 seconds (Bot rate limit for group)

p.s. Only tested with iPhone + WhatsApp, YMMV

Credits

Inspired by https://github.com/TelegramTools/TLImporter