Very Popular
Go to Latest
interface WebhookOptions
import { type WebhookOptions } from "https://dotland.deno.dev/x/grammy@v1.18.3/convenience/webhook.ts";

Properties

optional
onTimeout: "throw" | "return" | ((...args: any[]) => unknown)

An optional strategy to handle timeouts (default: 'throw')

optional
timeoutMilliseconds: number

An optional number of timeout milliseconds (default: 10_000)

optional
secretToken: string

An optional string to compare to X-Telegram-Bot-Api-Secret-Token