WebhookOptions
Properties
onTimeout
ts
onTimeout?: "throw" | "return" | ((...args: any[]) => unknown);
An optional strategy to handle timeouts (default: ‘throw’)
timeoutMilliseconds
ts
timeoutMilliseconds?: number;
An optional number of timeout milliseconds (default: 10_000)
secretToken
ts
secretToken?: string;
An optional string to compare to X-Telegram-Bot-Api-Secret-Token