Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 891 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 891 Bytes

Telegram Notifier

This was created by me for the purpose of getting notified about Delhi Visa Slots but can be extended to other things as well.

Please create the API_id and hashes from https://my.telegram.org/ Create a bot and get the access token

Installation

Use the package manager pip to install.

pip install -r requirements.txt

Create .env file

Create an .env file with the following configuration:

API_ID=<YOUR_API_ID>
API_HASH='<YOUR_API_HASH>'
PHONE='<YOUR_PHONE_NUMBER>'
USERNAME='<YOUR_USERNAME>'
BOT_TOKEN='<YOUR_BOT_TOKEN>'

Running

python getChats.py

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT