Skip to main content

Welcome to Easygram Documentation!

Β· One min read
Easygram Creator

Welcome to the Easygram documentation site!

Easygram is a Spring Boot framework that makes building Telegram bots incredibly simple. No boilerplate, no configuration headachesβ€”just pure, declarative bot logic.

What's Included​

  • πŸ“š Comprehensive Guides β€” From getting started to advanced patterns
  • πŸš€ Quick Start β€” Build your first bot in 5 minutes
  • πŸ”§ Transport Guides β€” Long-polling, webhook, Kafka, RabbitMQ
  • πŸ’‘ Real Examples β€” Echo bot, registration wizard, producer bot, webhook bot
  • ❓ FAQ β€” Common questions and solutions

Key Features​

  • Zero-config autoconfiguration β€” Single property to start
  • Annotation-driven routing β€” @BotCommand, @BotText, @BotCallbackQuery, and more
  • Smart parameter injection β€” Inject User, Chat, Update, custom types
  • Pluggable transports β€” Switch between update sources with one property
  • Stateful workflows β€” Chat state management for multi-step flows
  • Fully customizable β€” Every bean is replaceable

Getting Started​

# Clone the repository
git clone https://github.com/oson-code/easygram.git

# Build locally
mvn clean install -DskipTests -Dgpg.skip=true

# Check out samples
cd samples
mvn package -DskipTests

Then head to Quick Start to build your first bot!

Community​

Happy bot building! πŸ€–