# pengrad/java-telegram-bot-api

Telegram Bot API for Java

Repository: https://github.com/pengrad/java-telegram-bot-api
Canonical: https://ross.abutalabs.com/products/java-telegram-bot-api
Homepage: https://core.telegram.org/bots
Language: Java
License: Apache-2.0
License Family: permissive
Topics: telegram, telegram-bot, telegram-api, bot, telegram-bot-api
Last push: 2026-06-12T13:07:31+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 76, longevity 100
- inputs: {"age_days": 4047, "days_push": 82, "days_rel": 82, "gap_med": 35, "n_releases_24m": 12}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1958, forks 385 (observed 2026-08-28T04:05:59.232148+00:00)

## What it is
A Java library providing full coverage of the Telegram Bot API, including payments, Telegram Passport, inline mode, and games. It wraps OkHttp for network operations and supports both synchronous and asynchronous request execution.

## Use cases
- build a telegram bot in java
- send messages to telegram chats programmatically
- receive and process telegram updates
- accept payments through a telegram bot
- create an inline telegram bot
- handle telegram passport data decryption
- build a notification bot for telegram channels

## When to choose
- you are building a Telegram bot on the JVM with Java, Kotlin, or Scala
- you need complete, up-to-date coverage of the Telegram Bot API including payments and passport
- you want a lightweight library without a heavy framework around it

## When to avoid
- you are building bots for platforms other than Telegram
- you prefer a full bot framework with command routing and DI out of the box
- your project is not on the JVM

## Facets
- artifact type: library
- maturity: active
- function: sdk, http-client, chatbot
- domain: messaging-platforms, chatbots, developer-tools
- platform: jvm, cross-platform
- tags: telegram-bot-api, telegram, bots, okhttp, maven, automation

## Member repositories
- pengrad/java-telegram-bot-api (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:59.232148+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-30T03:06:00.162190+00:00, confidence not recorded.
  - readme: https://github.com/pengrad/java-telegram-bot-api (fetched 2026-08-28T04:05:59.232148+00:00, sha 00cd42afe7b8)
  - homepage: https://core.telegram.org/bots (fetched 2026-08-29T10:45:51.726406+00:00, sha dbad8b4d743d)
  - site_page: https://core.telegram.org/bots/features (fetched 2026-08-29T10:45:51.741839+00:00, sha ed7f88c0d051)
  - site_page: https://telegram.org/faq (fetched 2026-08-29T10:45:51.737536+00:00, sha bb96abf682a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
