Learn how to forward Jotihunt Telegram messages to Discord or WhatsApp
Create a new Node.js project
Set up environment variables
.env
file in your project root. Here’s how to get each required value:Telegram API Credentials:api_id
and api_hash
values.env
file:.env
file to version control. Make sure to add .env
to your .gitignore
.Create the forwarder code
index.js
in your project root and add the following code:.env
TELEGRAM_STRING_SESSION
is empty, you’ll get a session string to add to .env
Connection Issues
Message Format Problems
WhatsApp Authentication