LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ktgbotapi-patterns - KTgBotAPI Architecture Patterns

Provides patterns for structuring ktgbotapi Telegram bots with modular handlers, dependency injection, callbacks, keyboards, FSM flows, and utilities.

Tags

Updated: 2026-10-01

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Organize bot project structure
  • Modularize command handlers
  • Modularize message handlers
  • Handle callback queries
  • Parse callback data
  • Build inline keyboards
  • Build reply keyboards
  • Define FSM states
  • Implement FSM handlers
  • Configure Koin modules

Inputs

  • Kotlin bot project
  • Bot token
  • Callback data formats
  • Conversation state definitions

Outputs

  • Project structure
  • Handler modules
  • Callback data models
  • Keyboard builders
  • FSM state handlers
  • Dependency injection modules

Requirements

  • Kotlin project
  • ktgbotapi
  • Koin dependency injection

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
Telegram bots
Kotlin
ktgbotapi
Architecture
FSM
Dependency injection
Organize bot project structure
Modularize command handlers
Modularize message handlers
Handle callback queries
Kotlin bot project
Bot token
Callback data formats
Project structure
Handler modules
Callback data models