Skip to main content
Module

x/grammy_hydrate/deps.deno.ts>Opts

Hydration plugin for API calls and context objects.
Latest
type alias Opts
import { type Opts } from "https://deno.land/x/grammy_hydrate@v1.4.1/deps.deno.ts";

Utility type providing the argument type for the given method name or {} if the method does not take any parameters

definition: [M in keyof ApiMethods<F>]: Params<F, M>[0] extends undefined ? { } : NonNullable<Params<F, M>[0]>
definition: OptsF<InputFile>[M]