Module

x/grammy/types.deno.ts>Opts

The Telegram Bot Framework.
Very Popular
Go to Latest
type alias Opts
import { type Opts } from "https://dotland.deno.dev/x/grammy@v1.22.4/types.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]