Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/core/client.ts>Payload

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