Module

x/grammy/mod.ts

The Telegram Bot Framework.
Go to Latest
interface Enhance
import { type Enhance } from "https://deno.land/x/grammy@v1.10.1/mod.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