This is a template to create Telegram bots with different languages both with and without the use of external libraries.
This is the disambiguation page.
This is a template to create Telegram bots using Pyrogram.
Modules used to do asynchronous file operations
- Version: 3.5.1
- Documentation: https://github.com/mosquito/aiofile
- Modules name: aiofile
- Installing:
pip install --upgrade --no-cache-dir aiofile
Library that lets you schedule your Python code to be executed later, either just once or periodically
- Version: 3.7.0
- Website: https://apscheduler.readthedocs.io/en/stable/index.html
- Documentation: https://apscheduler.readthedocs.io/en/stable/modules/schedulers/asyncio.html#module-apscheduler.schedulers.asyncio
- Modules name: apscheduler
- Requirements:
- Python >= 3.4: none
- Python 3.3: asyncio
- Python <= 3.2: trollius
- Installing:
pip install --upgrade --no-cache-dir APScheduler
Module used to connect to a MySQL Server
- Version: 1.0.2
- Website: https://pymysql.readthedocs.io/en/latest/
- Documentation: https://pymysql.readthedocs.io/en/latest/modules/index.html
- Module name: pymysql
- Requirements:
- Installing:
pip install --upgrade --no-cache-dir PyMySQL
Module used to create the Bot
- Version: 1.2.0
- Website: https://docs.pyrogram.org/
- Documentation: https://docs.pyrogram.org/api/client
- Module name: pyrogram
- Requirements: TgCrypto
- Installing:
pip install --upgrade --no-cache-dir pyrogram; pip install --upgrade --no-cache-dir TgCrypto
HTTP library for Python, built for human beings.
- Version: 2.26.0
- Website: https://docs.python-requests.org/en/master/
- Documentation: https://docs.python-requests.org/en/latest/api/
- Module name: requests
- Installing:
pip install --upgrade --no-cache-dir requests
To install the dependencies, create a Virtual Enviroment and use: pip install --upgrade --no-cache-dir -r requirements.txt