Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Class SmsCallbackWebhooks

    Index

    Constructors

    Methods

    • Reviver for an SMS Event. This method ensures the object can be treated as an SMS Event and should be called before any action is taken to manipulate the object.

      Parameters

      • eventBody: any

        The event body containing the SMS event notification.

      Returns SmsCallback

      • The parsed SMS event object
    • Parameters

      • headers: IncomingHttpHeaders
      • body: any
      • Optional_path: string
      • Optional_method: string

      Returns boolean

    • Static reviver for an SMS Event. This method ensures the object can be treated as an SMS Event.

      Parameters

      • eventBody: any

        The event body containing the SMS event notification.

      Returns SmsCallback

      • The parsed SMS event object