/TgFormatterBot

A simple Telegram bot to convert WhatsApp formatting to Telegram formatting.

Primary LanguagePython

TgFormatterBot

A simple Telegram bot, powered by Pyrogram, that converts WhatsApp messages formatting to Telegram messages formatting.

Setup

  1. Clone the repository by running the following command:
git clone https://github.com/yonatand1230/TgFormatterBot.git
  1. Install dependencies using PyPi:
pip3 install -r requirements.txt
  1. 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.

Usage

Simply run main.py using Python 3:

python3 main.py