Module

x/grammy/core/client.ts>Payload

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