# teloxide/teloxide

🤖 An elegant Telegram bots framework for Rust

Repository: https://github.com/teloxide/teloxide
Canonical: https://ross.abutalabs.com/products/teloxide
Homepage: https://docs.rs/teloxide/latest/teloxide/
Language: Rust
License: MIT
License Family: permissive
Topics: teloxide, telegram-bot-api, telegram, telegram-bot-framework, rust
Last push: 2026-08-08T10:16:36+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 40, longevity 100
- inputs: {"age_days": 2558, "days_push": 25, "days_rel": 418, "gap_med": 12.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4218, forks 310 (observed 2026-08-28T04:08:39.222548+00:00)

## What it is
Teloxide is a full-featured Rust framework for building Telegram bots, built on the dptree chain-of-responsibility pattern for declarative update processing. It supports long polling and webhooks, strongly typed command parsing, and pluggable dialogue persistence with Redis, SQLite, and PostgreSQL storages.

## Use cases
- build a telegram bot in rust
- handle telegram bot commands with typed arguments
- create multi-step conversation dialogues for a bot
- run a telegram bot via webhooks or long polling
- persist bot conversation state in redis or sqlite
- write a telegram bot with async rust and tokio

## When to choose
- you want to write a Telegram bot in Rust with a declarative, type-safe API
- you need dialogue state management with pluggable persistence backends
- you want broad Telegram Bot API coverage including recent versions
- you prefer async/await with tokio and strong compile-time guarantees

## When to avoid
- you are building bots for platforms other than Telegram
- you need a minimal single-file bot script and prefer a simpler language like Python
- your project requires a stable 1.0 API - teloxide is still pre-1.0 with frequent breaking releases

## Facets
- artifact type: framework
- maturity: active
- function: web-framework, middleware, routing, state-management, http-client
- domain: chatbots, messaging-platforms, backend, developer-tools
- platform: rust, cross-platform
- tags: telegram-bot, telegram-bot-api, long-polling, webhooks, dialogues, dptree, tokio, async, web-server

## Member repositories
- teloxide/teloxide (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:39.222548+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:22:25.336693+00:00, confidence not recorded.
  - readme: https://github.com/teloxide/teloxide (fetched 2026-08-28T04:08:39.222548+00:00, sha f266fc0dec96)
  - homepage: https://docs.rs/teloxide/latest/teloxide/ (fetched 2026-08-29T09:12:37.517647+00:00, sha bd2e6d8dd61a)
  - site_page: https://docs.rs/ (fetched 2026-08-29T09:12:37.526759+00:00, sha 425b2676af8b)
  - site_page: https://docs.rs/crate/teloxide/latest (fetched 2026-08-29T09:12:37.529222+00:00, sha 2fb9addbd9da)
  - site_page: https://docs.rs/crate/teloxide/latest/features (fetched 2026-08-29T09:12:37.531939+00:00, sha 96bd432a5ec3)
  - site_page: https://docs.rs/about (fetched 2026-08-29T09:12:37.534011+00:00, sha 29ab7986fbf5)
  - site_page: https://docs.rs/about/badges (fetched 2026-08-29T09:12:37.535567+00:00, sha 6588cac258af)
  - site_page: https://docs.rs/about/builds (fetched 2026-08-29T09:12:37.537021+00:00, sha 811231ca4680)
  - site_page: https://docs.rs/about/metadata (fetched 2026-08-29T09:12:37.538393+00:00, sha 0dcdccb2b2b2)
  - site_page: https://docs.rs/about/redirections (fetched 2026-08-29T09:12:37.539798+00:00, sha 1b1efd93105f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
