{"library":"telegraf-session-mongodb","type":"library","category":null,"description":"MongoDB-based session middleware for the Telegraf Telegram bot framework (v4.0+). Current stable version is 2.0.2. Provides persistent session storage using MongoDB, with support for custom collection names and session key generation. Ships TypeScript definitions, requires both `telegraf` and `mongodb` as peer dependencies. Differentiates from in-memory or file-based session stores by offering scalability and persistence via MongoDB.","language":"javascript","status":"active","version":"2.0.2","tags":["javascript","telegraf","mongo","mongodb","telegraf-session","telegram","middleware","bot","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install telegraf-session-mongodb","imports":["import { session } from 'telegraf-session-mongodb'","import session from 'telegraf-session-mongodb'","import { MongoClient } from 'mongodb'"]},{"cmd":"yarn add telegraf-session-mongodb","imports":[]},{"cmd":"pnpm add telegraf-session-mongodb","imports":[]}],"homepage":"https://github.com/alexnzarov/telegraf-session-mongodb#readme","github":"ssh://git@github.com/alexnzarov/telegraf-session-mongodb","docs":null,"changelog":null,"pypi":null,"npm":"telegraf-session-mongodb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}