Function onWebHook

  • Register a callback function that handles requests from the web hook.

    Parameters

    Returns Promise<boolean>

    A promise that resolves to a boolean value indicating the success of the operation.