mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Create grammy.md and group-policy-hardening.md to resolve 10 broken doc links. Format 7 auto-generated CHANGELOG.md files.
898 B
898 B
summary, read_when, title
| summary | read_when | title | |
|---|---|---|---|
| grammY framework integration notes for Telegram |
|
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-retryplugin) - Session management
Timeouts
channels.telegram.timeoutSeconds overrides the Telegram API client timeout. If unset, the grammY default applies.