# rubenlagus/TelegramBots

Java library to create bots using Telegram Bots API

Repository: https://github.com/rubenlagus/TelegramBots
Canonical: https://ross.abutalabs.com/products/telegrambots
Homepage: https://telegram.me/JavaBotsApi
Language: Java
License: MIT
License Family: permissive
Topics: telegram-bot, telegram-bots-api, webhook, java-library, polling, java, jitpack, telegram, maven, spring-boot
Last push: 2026-08-22T22:11:14+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 3885, "days_push": 11, "days_rel": 11, "gap_med": 33.0, "n_releases_24m": 19}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5505, forks 1359 (observed 2026-08-28T04:09:21.756968+00:00)

## What it is
A Java library for building Telegram bots using the Telegram Bots API, supporting both long polling and webhook methods. It is distributed via Maven Central and JitPack and integrates well with Spring Boot.

## Use cases
- create a telegram bot in java
- handle telegram bot updates via webhook
- build a telegram bot with long polling
- send files and messages from a java telegram bot
- add inline keyboard support to a telegram bot
- integrate a telegram bot with spring boot

## When to choose
- you are building a Telegram bot in Java or on the JVM
- you want both polling and webhook support with a simple API
- you need a mature, MIT-licensed library available on Maven Central

## When to avoid
- you are building bots in another language like Python or Node.js
- you need a framework with built-in bot state management or conversation flows
- you prefer a lightweight raw HTTP wrapper without library abstractions

## Facets
- artifact type: library
- maturity: active
- function: chatbot, webhook, http-client, sdk
- domain: chatbots, messaging-platforms, developer-tools
- platform: jvm, cross-platform
- tags: telegram-bot-api, long-polling, maven, jitpack, bot-framework, automation, spring-boot

## Member repositories
- rubenlagus/TelegramBots (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:21.756968+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-29T17:56:17.086191+00:00, confidence not recorded.
  - readme: https://github.com/rubenlagus/TelegramBots (fetched 2026-08-28T04:09:21.756968+00:00, sha 69b07252ea77)
  - homepage: https://telegram.me/JavaBotsApi (fetched 2026-08-29T08:51:19.050271+00:00, sha 62d0dfd8b588)
- Data as of 2026-08-30T08:39:29.467469+00:00.
