telegraf-session-mysql
JSON →MySQL-powered session middleware for Telegraf (Telegram Bot Framework) v5.3.0. Persists session data both in MySQL and in-memory for performance, with automatic table creation, configurable lifetime and garbage collection. Requires Node >=12 and MySQL >=5.5.62. Forked from telegraf-session-redis, focused on SQL-based storage. Supports scoped sessions per user, chat, or custom key functions.
Resources
packagetelegraf-session-mysql ↗
API endpoints
full doc /v1/registry/telegraf-session-mysql