From 1989bde486c9e24c4f54fd65396d9be3794992da Mon Sep 17 00:00:00 2001 From: winstxnhdw Date: Tue, 7 May 2024 01:38:23 +0800 Subject: [PATCH] docs: deprecate redundant `webhookCallback` overload --- src/convenience/webhook.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/convenience/webhook.ts b/src/convenience/webhook.ts index a47e2368..3a3c8655 100644 --- a/src/convenience/webhook.ts +++ b/src/convenience/webhook.ts @@ -67,6 +67,7 @@ export interface WebhookOptions { * @param adapter An optional string identifying the framework (default: 'express') * @param onTimeout An optional strategy to handle timeouts (default: 'throw') * @param timeoutMilliseconds An optional number of timeout milliseconds (default: 10_000) + * @deprecated This function will be removed in the next major version */ export function webhookCallback( bot: Bot,