Skip to content

GramIO API Reference / gramio/dist / Hooks / Derive

Type Alias: Derive<Ctx> ​

Derive<Ctx> = (context) => MaybePromise<Record<string, unknown>>

Defined in: gramio/index.d.ts:971

Derive

Type Parameters ​

Type Parameter
Ctx

Parameters ​

ParameterType
contextCtx

Returns ​

MaybePromise<Record<string, unknown>>