Module

x/grammy/mod.ts>WebhookOptions

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