Skip to content

rodion-gudz/telegram-bot-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Telegram Bot Template

Useful and multifunction bot template, which use aiogram and pyrogram libraries

Telegram DeepSource CodeFactor CodeStyle PythonVersions

Features

  • aiogram 3 as a main library
  • pyrogram (Optional) for MTProto requests, such as bulk delete, resolve by username and list participants in a group
  • aiogram-dialog (Optional) for creating multi-step dialogs
  • ☁️ Webhook and long polling with local Bot API server support
  • 🎨 Beautiful and informative colored logs
  • πŸ›  Throttling and db middlewares by default
  • πŸ“ Changing UI commands
  • πŸ‘¨πŸ»β€πŸ’» Owner filter
  • ℹ️ Demo usage of dialogs and inline queries

Usage

  • πŸ“Œ Create and clone repo from this template
  • πŸ”‘ Rename example.toml to config.toml and change bot settings
  • πŸ“Ž Install requirements from requirements.txt
  • πŸš€ Run bot via python -m app

Bots using this template

πŸ‘¨πŸ»β€πŸ’» You can send me a link to your bot repository and I will post it here.

About

πŸš€ Useful and multifunction bot template, which use aiogram and pyrogram libraries

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

Languages