Skip to main content
Deno 2 is finally here 🎉️
Learn more
Very Popular
Go to Latest
type alias MultiSessionOptions
import { type MultiSessionOptions } from "https://deno.land/x/grammy@v1.22.0/convenience/session.ts";

Options for session middleware if multi sessions are used. Specify "type": "multi" in the options to use multi sessions.

definition: S extends Record<string, any> ? { type: "multi"; } & MultiSessionOptionsRecord<S, C> : never