惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Hugging Face - Blog
Hugging Face - Blog
V
Visual Studio Blog
Last Week in AI
Last Week in AI
Stack Overflow Blog
Stack Overflow Blog
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
博客园 - Franky
D
DataBreaches.Net
B
Blog
Y
Y Combinator Blog
T
The Blog of Author Tim Ferriss
Microsoft Azure Blog
Microsoft Azure Blog
人人都是产品经理
人人都是产品经理
WordPress大学
WordPress大学
P
Proofpoint News Feed
J
Java Code Geeks
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Martin Fowler
Martin Fowler
月光博客
月光博客
宝玉的分享
宝玉的分享
Engineering at Meta
Engineering at Meta
阮一峰的网络日志
阮一峰的网络日志
F
Fortinet All Blogs
博客园 - 【当耐特】

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Telegem v3.4.0 is out – Bot API 9.6, Redis store, and loo...
ZenDrx · 2026-05-06 · via DEV Community

ZenDrx

I started Telegem on December 20, 2025. I didn't plan to build a full Telegram framework. I just wanted something faster than telegram-bot-ruby, something that didn't block, something that felt right in Ruby.

Today, I'm releasing v3.4.0.

What's New

  • Bot API 9.6 full support – managed bots, polls overhaul, sendMessageDraft, and all the new update types.
  • Redis session store – for horizontal scaling across multiple webhook instances.
  • Translate plugin – built-in translation using the Lingva API.
  • Removed concurrent-ruby – lighter footprint, fewer dependencies.
  • Better error messages – improved feedback for invalid middleware.
  • Ruby 3.1+ support – fully tested and verified.

Why v3.4.0 Matters

The Telegram Bot API changes fast. Most Ruby wrappers lag behind. With v3.4.0, Telegem is fully aligned with Telegram's April 2026 release – managed bots, polls with multiple correct answers, the works.

The Redis store is the other big one. Until now, sessions lived in memory. That's fine for one process. For webhook mode with multiple workers? You needed shared storage. Now you have it.

Looking Back at 4.5 Months

I pushed the first commit on December 20, 2025. Since then, Telegem has grown to:

  • 46 versions
  • ~71,000 total downloads
  • Full async architecture (built on Async, not threads)
  • Webhook server with SSL (no Rack required)
  • Scenes, sessions, rate limiting, middleware – all the things you expect from a modern framework

Not everyone found it. Not everyone stayed. But thousands of developers tried it, and that's more than I expected when I started.

What's Next

I'm not adding features for the sake of features. Telegem is stable. The next work will be:

  1. Lowering the Ruby requirement back to 3.1 (v3.4.0 incorrectly bumped it to 3.4 – fixing it in the next patch).
  2. More docs for advanced patterns.
  3. Proper plugin system – making it easier for the community to extend the core.

Get It


bash
gem install telegem

Or in your Gemfile:

gem 'telegem', '~> 3.4.0'

GitHub logo slick-lab / telegem

A complete async first framework for building telegram bots in ruby

Telegem Documentation

Welcome to the comprehensive documentation for Telegem, a modern Ruby framework for building Telegram bots.

CodeQl Gem Version Join Telegram Group

Table of Contents

Getting Started

Core Components

  • Bot - Main bot class and configuration
  • Context - Update context and response methods
  • Handlers - Command, hears, and event handlers
  • Middleware - Request processing pipeline
  • Scenes - Multi-step conversation flows
  • Sessions - Data persistence between updates

API & Types

  • API - Telegram API client usage
  • Types - Type-safe API response handling
  • Keyboards - Inline and reply keyboard DSL

Advanced Features

Examples & Guides




Community

Join the conversation and get help in the official group:
Join the Telegram Group

I don't know where Telegem will be a year from now. But I know it's already a better foundation than anything else in Ruby for building Telegram bots.

I'm curious—for those building bots in Ruby, what's your biggest pain point with current libraries? I'd love to see if Telegem can solve it for you.

– ZenDrx

Enter fullscreen mode Exit fullscreen mode