Welcome to Easygram Documentation!
Β· One min read
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β
- GitHub β github.com/oson-code/easygram
- Issues β Report bugs or request features
- Discussions β Ask questions and share ideas
Happy bot building! π€