What problem does it solve?
This Skill helps developers design, implement, and troubleshoot Telegram bots written in Kotlin, reducing architectural mistakes and runtime errors during command handling, callback processing, and deployment.
Core Features & Use Cases
- Architecture Guidance: Enforces a Handler → Controller → Service → Repository separation and recommends Koin for dependency injection.
- Command & Callback Patterns: Shows idiomatic command parsing, command registration, inline keyboard construction, and safe callback query handling.
- Deployment & Safety: Advises long polling for development, webhooks for production, secure token handling, and defensive error handling for TelegramApiException.
- Use Case: Implement a group-tagging /ping command that safely parses arguments, respects rate limits, and routes logic through controllers and services.
Quick Start
Implement a /ping command handler in Kotlin that follows the project's handler, controller, and service layers, uses Koin for dependency injection, and registers the command in MessageHandler.