type alias Payloadimport { type Payload } from "https://dotland.deno.dev/x/grammy@v1.20.0/core/client.ts"; Type ParametersM extends Methods<R>R extends RawApidefinition: M extends unknown ? R[M] extends (signal?: AbortSignal) => unknown ? { } : R[M] extends (args: any, signal?: AbortSignal) => unknown ? Parameters<R[M]>[0] : never : never