- Clone the project repository
// With HTTPS
$ git clone https://github.com/abhint/WHOIS-Telegram-Bot.git
// With SSH
$ git clone git@github.com:abhint/WHOIS-Telegram-Bot.git
// With GitHub CLI
$ gh repo clone abhint/WHOIS-Telegram-Bot
- Install Requirements
$ pip3 install -r requirements.txt
An example config.py
file could be:
class TeleInfo():
API_ID = 1234567 #Add your API_ID from https://my.telegram.org/apps
API_HASH = 'bc4811980930ad49d7f8e2b024f7cf13' #Add your Bot token from @Botfather
BOT_TOKEN = '1991308069:tU1gaAyvgAAGgo3F2AI2J7nxcqvkwoTCrpY' #add your API_HASH from https://my.telegram.org/apps
Go and get the bot token @BotFather
click the link to get your app id & api_hash my.telegram.org
$ python3 -m bot
- Dan Tès for his Pyrogram Library
- GPLv3