Module

x/grammy/types.ts

The Telegram Bot Framework.
Go to Latest
type alias Opts
import { type Opts } from "https://deno.land/x/grammy@v1.10.1/types.ts";

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

Type Parameters

M extends keyof GrammyTypes["Telegram"]
definition: GrammyTypes["Opts"][M]