This is a template for building Telegram bots using the Pyrogram library. It includes a basic project structure with sample files to get you started quickly.
The project structure is as follows:
.
├── app.py
├── plugins
│ └── entry_point.py
├── config.example.yaml
└── models.py
- Clone the repository to your local machine.
- Install the required dependencies:
pip install -r requirements.txt
- Copy the
config.example.yaml
file and rename it toconfig.yaml
. - Open the
config.yaml
file and set the values for theapi_id
,api_hash
, andbot_token
fields with your own credentials. - Run the
app.py
script to start your bot.
Contributions are welcome! If you find any issues or have suggestions for improvement, please feel free to create an issue or submit a pull request.
This project is licensed under the MIT License.