Skip to main content
Module

x/grammy_menu/deps.deno.ts>Enhance

Easily create interactive menus with grammY.
Go to Latest
interface Enhance
import { type Enhance } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

When enhancing a storage adapter, it needs to be able to store additional information. It does this by wrapping the actual data inside an object, and adding more properties to this wrapper.

This interface defines the additional properties that need to be stored by a storage adapter that supports enhanced sessions.

Properties

optional
v: number

Version

__d: T

Data

optional
e: number

Expiry date