A simple Telegram bot, powered by Pyrogram, that converts WhatsApp messages formatting to Telegram messages formatting.
- Clone the repository by running the following command:
git clone https://github.com/yonatand1230/TgFormatterBot.git
- Install dependencies using PyPi:
pip3 install -r requirements.txt
- Add your credentials by modifying lines 5-7 in
main.py
:
Api_id = 0 # Put your API ID here
Api_hash = "YOUR_API_HASH_HERE"
Bot_token = "YOUR_BOT_TOKEN_HERE"
These credentials can be obtained from the official Telegram website.
Simply run main.py using Python 3:
python3 main.py