Skip to content

Commit

Permalink
docs: deprecate redundant webhookCallback overload
Browse files Browse the repository at this point in the history
  • Loading branch information
winstxnhdw committed May 6, 2024
1 parent 15e4b43 commit 1989bde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/convenience/webhook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<C extends Context = Context>(
bot: Bot<C>,
Expand Down

0 comments on commit 1989bde

Please sign in to comment.