Telegem v1.0.0: Async Telegram bot framework
JUST released Telegem, a modern Telegram Bot framework for Ruby inspired by Telegraf.js !
Built for performance with true async/await patterns, it includes: • Telegraf-style DSL (familiar for JS developers) • Scene-based wizards for multi-step conversations • Middleware system like Express.js • Production webhook server • Async I/O using Ruby’s async gem
Perfect if you’re building high-traffic bots or coming from Node.js/Telegraf.
Quick start in 60 seconds:
require ‘telegem’ bot = Telegem.new(‘TOKEN’) bot.command(‘start’) { |ctx| ctx.reply “Hello!” } bot.start_polling
Check out the full docs and examples on GitLab: gitlab
Post a comment