Building a Telegram Bot with Cloudflare Workers, Durable Objects and grammY
Summary
This article documents building a Telegram bot using Cloudflare Workers with Durable Objects and grammY, including why this stack was chosen, webhook setup, and dynamic command registration. It also provides practical code examples and notes on debugging in a serverless Cloudflare environment, plus a non-AI approach to timezone handling.