Telegram Bot Development (Aiogram v3)
Installation
SKILL.md
Telegram Bot Skill
Technology Stack
- Framework: Aiogram 3.x
- Storage: Redis (for FSM and Caching)
- Architecture: Router-based (Modular)
Key Patterns
1. Router Setup
Use Router for modularity. Do not attach handlers directly to Dispatcher in modules.
from aiogram import Router
router = Router(name="feature_name")
@router.message(...)
async def handler(...): ...