With this source and using the Pyrogram library, we will have access to Telegram. This source is under development.
Before you begin, make sure you have the following installed:
- Python version 3.10.12
- Go to my.telegram.org and log in using your phone number.
- Select "API development tools" and fill out the form to register a new application.
- Save the API_ID and API_HASH items.
- Clone this repo
You can download the repository by cloning it to your system and installing the necessary dependencies:
git clone https://github.com/mohammadabdi75/pyrogram-Massenger.git
cd pyrogram-Massenger
- Install requirements
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
nano setUsername.py or receiver.py # Place Your API and Token and Channel ID
python3 setUsername.py or receiver.py
Place Your API and Token and Channel ID
# Codes for API_ID and CHANNEL should be without " "
API_ID= Your API_ID
API_HASH= "Your API_HASH"
TOKEN= "Your TOKEN"
CHANNEL= Your CHANNEL
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.
Special thanks to AmirSbss for help in this project.