WebhookHandlerFn
WebhookHandlerFn<
N> = (event) =>void|Promise<void>
Defined in: src/resources/webhook-handler-core.ts:42
A function registered with WebhookHandlerApi.on.
Type Parameters
Section titled “Type Parameters”N extends WebhookEventName
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void | Promise<void>
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.