{"library":"telegraf-session-mysql","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"5.3.0","tags":["javascript","telegram","telegram bot","telegraf","bot framework","session","middleware","mysql"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install telegraf-session-mysql","imports":["const MySQLSession = require('telegraf-session-mysql')","import MySQLSession from 'telegraf-session-mysql'","const session = new MySQLSession(...); telegraf.use(session.middleware())"]},{"cmd":"yarn add telegraf-session-mysql","imports":[]},{"cmd":"pnpm add telegraf-session-mysql","imports":[]}],"homepage":"https://github.com/hnaderi/telegraf-session-mysql#readme","github":"https://github.com/hnaderi/telegraf-session-mysql","docs":null,"changelog":null,"pypi":null,"npm":"telegraf-session-mysql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}