RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in