Wapi.js Docs / CustomerNumberChangeEvent

Class: CustomerNumberChangeEvent

Represents a customer number change event.

Implements

Implements

Constructors

new CustomerNumberChangeEvent()

new CustomerNumberChangeEvent(params): CustomerNumberChangeEvent

Creates a new instance of the CustomerNumberChangeEvent class.

Parameters

params

The parameters for initializing the event.

params.changeDescription: string

params.client: Client

params.newWaId: string

params.oldWaId: string

params.timestamp: string

Returns

CustomerNumberChangeEvent

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:42

Properties

changeDescription

changeDescription: string

The description of the change.

Implementation of

CustomerNumberChangeEventInterface.changeDescription

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:21


client

client: Client

The client associated with the event.

Implementation of

CustomerNumberChangeEventInterface.client

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:16


newWaId

newWaId: string

The new WhatsApp ID.

Implementation of

CustomerNumberChangeEventInterface.newWaId

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:26


oldWaId

oldWaId: string

The old WhatsApp ID.

Implementation of

CustomerNumberChangeEventInterface.oldWaId

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:36


timestamp

timestamp: number

The timestamp of the event.

Implementation of

CustomerNumberChangeEventInterface.timestamp

Source

packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:31