Skip to content

joqd/pyrogram-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyrogram-template

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.

Project Structure

The project structure is as follows:

.
├── app.py
├── plugins
│  └── entry_point.py
├── config.example.yaml
└── models.py

Getting Started

  1. Clone the repository to your local machine.
  2. Install the required dependencies: pip install -r requirements.txt
  3. Copy the config.example.yaml file and rename it to config.yaml.
  4. Open the config.yaml file and set the values for the api_id, api_hash, and bot_token fields with your own credentials.
  5. Run the app.py script to start your bot.

Contributing

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.

License

This project is licensed under the MIT License.