Module

x/grammy/core/error.ts>toGrammyError

The Telegram Bot Framework.
Go to Latest
function toGrammyError
import { toGrammyError } from "https://deno.land/x/grammy@v1.11.1/core/error.ts";

Parameters

method: string
payload: Record<string, unknown>