Module

x/grammy/core/client.ts>Payload

The Telegram Bot Framework.
Go to Latest
type alias Payload
import { type Payload } from "https://deno.land/x/grammy@v1.11.1/core/client.ts";

Type Parameters

M extends Methods<R>
R extends RawApi
definition: M extends unknown ? R[M] extends (signal?: AbortSignal) => unknown ? { } : R[M] extends (args: any, signal?: AbortSignal) => unknown ? Parameters<R[M]>[0] : never : never