Files
bot/docs/channels/grammy.md
zooqueenandHanzo Dev a41549e33b fix: add missing doc pages and format changelogs
Create grammy.md and group-policy-hardening.md to resolve 10 broken
doc links. Format 7 auto-generated CHANGELOG.md files.

Co-authored-by: Hanzo Dev <[email protected]>
2026-02-27 21:41:42 -08:00

898 B

summary, read_when, title
summary read_when title
grammY framework integration notes for Telegram
Working on Telegram internals or the grammY runner
Telegram grammY Notes

Telegram grammY Notes

Bot uses grammY as the underlying framework for Telegram Bot API communication.

Runner

Long polling uses the grammY runner with per-chat and per-thread sequencing. Overall runner sink concurrency is governed by agents.defaults.maxConcurrent.

Middleware Stack

The grammY middleware chain handles:

  • Message and callback query routing
  • Media group deduplication
  • Rate-limit aware retry (via auto-retry plugin)
  • Session management

Timeouts

channels.telegram.timeoutSeconds overrides the Telegram API client timeout. If unset, the grammY default applies.

References