telegram-bot-sessions
Installation
SKILL.md
telegram-bot-sessions Skill
How to persist user state in a Telegram bot — why it's needed, how grammY solves it, how the toolkit wraps it.
Built for the agntdev pipeline. See agnt-cli-builder for the discovery-and-claim loop. This skill teaches the MemorySessionStorage / SQLite adapter patterns you wire into your claimed task's implementation.
1. Why Sessions Are Needed (Bot API)
Telegram Bot API is stateless. Every Update arrives as a fresh HTTP request. The bot has no built-in memory of what a user did before.