LT: Telegram Bots with Elixir: Shipping Faster, Sleeping Better
summary
Several production Telegram bots are written in Elixir and the workflow now includes Grammex for end-to-end chat tests that read like user stories, simulating messages, media and button clicks. Tests run by starting a GenServer session that stores requests/responses, swapping the real HTTP client with an adapter and a callback endpoint so Telegram-style webhooks hit the test. Examples include a vocabulary flashcard bot and a web‑view exercise tracker with graphs, and the setup reduces brittle unit-only checks while enabling integration testing and a small marketing/analytics service for mass delivery.
AI-written summary · about








