Bot API Library Examples #
A full tutorial covering everything from configuring your environment to deploying your finished bot is available here.¶
This page lists some libraries and frameworks developed by the Telegram community – you should take care to report any bugs you may find to the respective developers, as these projects are not maintained by Telegram.¶
Ping us on @BotSupport if you would like your library to appear on this page.¶
PHP #
-
Nutgram. The Telegram bot framework that doesn't drive you nuts. https://github.com/nutgram/nutgram¶
-
Telegraph. A Laravel package for fluently interacting with Telegram Bots. https://github.com/def-studio/telegraph¶
-
tgWebValid. Library for Telegram Web App User Validation and Telegram Login Widget for PHP. https://github.com/CrazyTapok-bit/tgWebValid¶
-
BPT. A simple library for working with Telegram Api. https://github.com/BPTproto/BPT https://github.com/BPTproto/BPT-Multi¶
-
LaraGram. An advanced framework for Telegram Bot development. https://github.com/laraXgram/LaraGram¶
-
laragram. Laravel package to develop a Telegram bot inside a laravel project. https://github.com/Mirmuxsin/laragram¶
-
BotAPI. SDK for the Telegram Bot API. https://github.com/TelegramSDK/BotAPI¶
-
TuriBot. A simple way to communicate with Telegram APIs in PHP. https://github.com/davtur19/TuriBot¶
-
TelegramBotsApi. SDK for Telegram Bot API. https://github.com/kuvardin/TelegramBotsApi¶
-
Telegram Bot API for PHP. PHP library to interact with Telegram Bot API. https://github.com/vjik/telegram-bot-api/¶
-
PHP Telegram Bot. PHP Telegram Bot based on the official Telegram Bot API. https://github.com/php-telegram-bot/core¶
-
Telegram Bot PHP. A library that makes using Telegram Bot API much easier. https://github.com/telegram-bot-php/core¶
-
PHP Telegram API. A complete async capable Telegram Bot API implementation for PHP7. https://github.com/unreal4u/telegram-api¶
-
Bot API PHP SDK. Telegram Bot API PHP SDK. Supports Laravel out of the box. https://github.com/irazasyed/telegram-bot-sdk¶
-
klev-o/telegram-bot-api. Simple and convenient object-oriented implementation Telegram Bot API. https://github.com/klev-o/telegram-bot-api¶
-
TeleBot. Easy way to create Telegram bots in PHP. Rich Laravel support out of the box. https://github.com/westacks/telebot¶
-
TgBotLib. Telegram Bot Library for ncc. https://github.com/nosial/TgBotLib¶
-
NeleBot X Framework. Framework for Telegram Bot API. https://github.com/NeleB54Gold/NeleBotX¶
-
PHP Telegram Bot Api. Native PHP Wrapper for Telegram BOT API. https://github.com/TelegramBot/Api¶
-
NovaGram. An Object-Oriented PHP library for Telegram Bots. https://github.com/skrtdev/NovaGram¶
Go #
-
Golang Telegram Bot library. An autogenerated wrapper for the Telegram Bot API. https://github.com/paulsonoflars/gotgbot¶
-
Telego. Telegram Bot API library. https://github.com/mymmrac/telego¶
-
Golang Telegram Bot. Telegram Bot API Go framework. https://github.com/go-telegram/bot¶
-
goram. Zero-dependency Telegram Bot API library for Go. https://github.com/TrixiS/goram¶
-
TG. Telegram Bot Framework for Go. https://github.com/enetx/tg¶
-
go-tg. Library for accessing Telegram Bot API, with batteries for building complex bots included. https://github.com/mr-linch/go-tg¶
-
Telegram Bot API: Go implementation. A Telegram IM bots API implementation. https://github.com/temoon/telegram-bots-api¶
-
echotron. An elegant and concurrent library for the Telegram Bot API. https://github.com/NicoNex/echotron¶
-
Telegram Bot API helper for Golang. A Telegram Bot API wrapper. https://github.com/meinside/telegram-bot-go¶
-
telebot. A Telegram bot framework. https://github.com/tucnak/telebot¶
-
Telegrambot. Telegram Bot API in Go, but with more clean code. https://github.com/nickname76/telegrambot¶
Python #
-
AIOGram. A pretty simple and fully asynchronous library for Telegram Bot API written with asyncio and aiohttp. https://github.com/aiogram/aiogram¶
-
python-telegram-bot. A wrapper you can't refuse. https://github.com/python-telegram-bot/python-telegram-bot¶
-
pyTelegramBotAPI. A simple, but extensible Python implementation for the Telegram Bot API. https://github.com/eternnoir/pyTelegramBotAPI¶
-
Telegrinder. Modern visionary telegram bot framework. https://github.com/timoniq/telegrinder¶
-
Telekit. A declarative, developer-friendly library for building Telegram bots. https://github.com/Romashkaa/telekit¶
-
Shingram. Lightweight Python library for Telegram bots with automatic API method support and zero hardcoding. https://github.com/nouzumoto/shingram¶
-
telegram-easy. A very simple Python package to send and receive Telegram messages. https://github.com/ferranb/telegram-easy¶
-
pure-teleapi. Pure declarative Telegram Bot API implementation with Pydantic models. https://github.com/AntonOvsyannikov/pure-teleapi¶
-
telegram.py. An async API wrapper for the Telegram Bot API in Python. https://github.com/ilovetocode2019/telegram.py¶
-
MicroPython. Simple way to put your IoT projects on the cloud. https://github.com/antirez/micropython-telegram-bot¶
-
telegram-text. A Python markup module, which can be used with other frameworks. https://github.com/SKY-ALIN/telegram-text¶
-
OrigamiBot. A pythonic Telegram bot API library. https://github.com/cmd410/OrigamiBot¶
Rust #
-
Frankenstein. A Telegram Bot API client. https://github.com/ayrat555/frankenstein¶
-
Ferrisgram. An asynchronous autogenerated wrapper for the Telegram Bot API. https://github.com/ferrisgram/ferrisgram¶
-
botapi-rs, A mildly competent autogenerated telegram api wrapper. https://github.com/fmeef/botapi-rs¶
-
carapax. A Telegram Bot API framework. https://github.com/tg-rs/carapax¶
-
teloxide. An elegant Telegram bots framework. https://github.com/teloxide/teloxide¶
-
tgbotapi. A library for using the Telegram Bot API. https://github.com/Syfaro/tgbotapi-rs¶
-
MOBOT. A Telegram Bot Library in Rust. https://github.com/0xfe/mobot¶
TypeScript #
-
grammY. The Telegram Bot Framework. https://github.com/grammyjs/grammY¶
-
tg-bot-client. A comprehensive library with full Telegram Bot API type support. https://github.com/effect-ak/tg-bot-client¶
-
wrappergram. Simple and tiny code-generated Telegram Bot API wrapper. https://github.com/gramiojs/wrappergram¶
-
typescript-telegram-bot-api. Telegram Bot API wrapper for Node.js written in TypeScript. https://github.com/Borodin/typescript-telegram-bot-api¶
-
GramIO. Powerful, extensible and really type-safe Telegram Bot API framework. https://github.com/gramiojs/gramio¶
-
puregram. Powerful and modern telegram bot api sdk for node.js and typescript. https://github.com/nitreojs/puregram¶
.NET #
-
Telegram.bot. .NET Client for Telegram Bot API. https://github.com/TelegramBots/Telegram.Bot¶
-
Telegram.BotAPI for NET. One of the most complete libraries available to interact with the Telegram Bot API. https://github.com/Eptagone/Telegram.BotAPI¶
-
Telegram Bot Framework. A context based application framework for the C# TelegramBot library. https://github.com/MajMcCloud/TelegramBotFramework¶
-
Minimal Telegram Bot. A modern .NET framework for building Telegram Bots using simple and concise syntax inspired by ASP.NET Core Minimal APIs. https://github.com/k-paul-acct/minimal-telegram-bot¶
-
RxTelegram.Bot. RxTelegram uses a reactive approach to make Updates available. https://github.com/RxTelegram/RxTelegram.Bot¶
-
Telegram.Bots. A .NET 5 wrapper for the Telegram Bot API. https://github.com/TelegramBotsAPI/Telegram.Bots¶
Kotlin #
-
TelegramBotAPI. Type-safe library for work with Telegram Bot API. https://github.com/InsanusMokrassar/TelegramBotAPI¶
-
Kotlin Telegram Bot. Telegram Bot API wrapper, with handy Kotlin DSL. https://github.com/vendelieu/telegram-bot¶
-
Kotlin Telegram Bot. Library for creating scalable and expandable applications with hepful features. https://github.com/DEHuckaKpyT/telegram-bot¶
-
Kotlin Telegram Bot. A wrapper for the Telegram Bot API. https://github.com/kotlin-telegram-bot/kotlin-telegram-bot¶
-
TelegramKitty. Powerful and type-safe Telegram Bot API wrapper with built-in cat pic functionality. https://github.com/bezsahara/TelegramKitty¶
Node.js #
-
Telegraf. Modern Telegram Bot Framework for Node.js. https://github.com/telegraf/telegraf¶
-
Telenode. Lightweight Telegram API framework for Node.js. https://github.com/NivEz/telenode¶
-
Node-Telegram-bot. Node.js module to interact with the official Telegram Bot API. https://github.com/yagop/node-telegram-bot-api¶
-
Telegramsjs. A powerful library for interacting with the Telegram Bot API. https://github.com/telegramsjs/TelegramsJS¶
Java #
-
TelegramBots. A simple to use library to create Telegram Bots. https://github.com/rubenlagus/TelegramBots¶
-
Java API. Telegram Bot API for Java. https://github.com/pengrad/java-telegram-bot-api¶
-
Teleight Bots. The most lightweight java telegram bot wrapper. https://github.com/Teleight/TeleightBots¶
-
Telebof. Easy and modern Java Telegram Bot API. https://github.com/natanimn/Telebof¶
C++ #
-
tgbot. A library for Telegram Bot API with generated API types and methods. https://github.com/egorpugin/tgbot¶
-
TGBM. Tg bots mother lib. https://github.com/bot-motherlib/TGBM¶
-
tgbot-cpp. A library for Telegram Bot API. https://github.com/reo7sp/tgbot-cpp¶
-
QTelegramBotAPI. Telegram Bot API on C++ and Qt. https://github.com/Modersi/TelegramBotAPI¶
Ruby #
-
telegram-bot-ruby. Ruby wrapper for Telegram's Bot API. https://github.com/atipugin/telegram-bot-ruby¶
-
Telegem. A modern Ruby framework for building Telegram bots with async performance and a clean DSL. https://gitlab.com/ruby-telegem/telegem¶
-
Telegram::Bot. Ruby gem for building Telegram Bot with optional Rails integration. https://github.com/telegram-bot-rb/telegram-bot¶
-
TelegramWorkflow. A simple utility to help you organize the code to create Telegram bots. https://github.com/rsamoilov/telegram_workflow¶
Lua #
-
tnt-tg-bot. Lua/Tarantool library for the Telegram Bot API. https://github.com/uriid1/tnt-tg-bot¶
-
ggram. Lua library for the Telegram bot API. You can even use it in Garry's Mod. https://github.com/TRIGONIM/ggram¶
-
telegram-bot-lua. A feature-filled Telegram Bot API library. https://github.com/wrxck/telegram-bot-lua¶
Scala #
-
bot4s.telegram. Simple, extensible, strongly-typed wrapper for the Telegram Bot API. https://github.com/bot4s/telegram¶
-
F[Tg] - Telegramium. Pure functional Telegram Bot API implementation. https://github.com/apimorphism/telegramium¶
Dart #
-
Televerse. Your gateway to seamless Telegram Bot Development. https://github.com/xooniverse/televerse¶
-
TeleDart. A library interfacing with Telegram Bot API. https://github.com/DinoLeung/TeleDart¶
Clojure #
-
Clojure Telegram Bot API. The latest Telegram Bot API spec and client lib for Clojure-based apps. https://github.com/marksto/clj-tg-bot-api¶
-
telegrambot-lib. A library for interacting with the Telegram Bot API. https://github.com/wdhowe/telegrambot-lib¶
Other Languages #
-
Swift. Swift Telegram Bot. The wrapper for the Telegram Bot API written in Swift. https://github.com/nerzh/swift-telegram-bot¶
-
Elixir. ExGram. Telegram Bot API low level API and framework. https://github.com/rockneurotiko/ex_gram¶
-
Gleam. Telega. Gleam library to build Telegram bots. https://github.com/bondiano/telega-gleam¶
-
Pascal. TGBotMini. Telegram Bot Mini API. https://github.com/HemulGM/TGBotMini¶
-
OCaml. TelegraML. A library for creating bots for Telegram. https://github.com/nv-vn/TelegraML¶
-
Haskell. haskell-telegram-api. High-level bindings to the Telegram Bot API based on servant library. https://github.com/klappvisor/haskell-telegram-api¶
-
Perl. Telegram Bot. Comprehensive Perl Interface for Telegram Bot API. https://github.com/AmiRCandy/Perlgram¶
-
Crystal. hamilton, Telegram Bot API wrapper for Crystal. https://github.com/Scurrra/hamilton¶
-
Unison. Telegram. Cloud-native wrapper for Telegram Bot API. https://share.unison-lang.org/@chuwy/telegram¶