ktgbotapi

Build Telegram bots with Kotlin Multiplatform using the tgbotapi library.

4|1|Updated Jan 23, 2026
One-click install
npx skills add https://github.com/AndVl1/claude-plugin --skill ktgbotapi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ktgbotapi
Source: https://github.com/AndVl1/claude-plugin/tree/main/skills/ktgbotapi
Command: npx skills add https://github.com/AndVl1/claude-plugin --skill ktgbotapi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a Kotlin Multiplatform library for Telegram Bot API, enabling developers to build robust bots with type-safe, coroutine-based access to Telegram endpoints.

Core Features & Use Cases

  • Type-safe core types, requests, and Telegram API extensions
  • Utilities and DSLs for building bot behavior and command handling
  • FSM integration for managing complex conversational flows
  • Kotlin Multiplatform support across JVM, JS, and Native for cross-platform bots

Quick Start

Add the tgbotapi dependency to your Kotlin Multiplatform project and start implementing bot logic with minimal setup.

Frequently Asked Questions about ktgbotapi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a type-safe Telegram bot in Kotlin using coroutines?▼

You can build a type-safe Telegram bot in Kotlin by using a coroutine-based library that provides strongly typed requests and core types for the Telegram Bot API. It enables robust bot development with minimal setup.

Can I use a Kotlin Multiplatform Telegram bot library across JVM, JS, and Native?▼

Yes, this Kotlin Multiplatform Telegram bot library supports JVM, JS, and Native targets. It allows you to build cross-platform bots while sharing core logic across different environments.

How do I manage complex conversational flows in a Telegram bot with FSM?▼

You manage complex conversational flows in a Telegram bot by using the built-in FSM integration. This feature allows you to handle stateful conversations and command routing within your bot behavior DSL.

What Telegram bot operations are supported by the tgbotapi library?▼

The tgbotapi library supports core Telegram bot operations including command handling, message processing, media management, and inline queries. It also provides utilities and DSLs for building bot behavior.

Do I need a specific library version to integrate type-safe Telegram bot API in Kotlin?▼

Yes, you need the dev.inmo:tgbotapi library, such as version 18.2.2, added to your Kotlin Multiplatform project. This dependency provides the type-safe access to Telegram endpoints.

What is the best way to handle inline queries in a Kotlin Multiplatform Telegram bot?▼

The best way to handle inline queries in a Kotlin Multiplatform Telegram bot is by using the library's type-safe request extensions and behavior builder DSLs. These tools allow you to process inline queries alongside standard message handling.