Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_menu/deps.deno.ts>MigrationOptions

Interactive menus for grammY.
Latest
interface MigrationOptions
import { type MigrationOptions } from "https://deno.land/x/grammy_menu@v1.3.0/deps.deno.ts";

Options for enhanced sessions

Properties

The original storage adapter that will be enhanced

optional
migrations: Migrations

A set of session migrations, defined as an object mapping from version numbers to migration functions that transform data to the respective version.

optional
millisecondsToLive: number

Number of milliseconds after the last write operation until the session data expires.