Class: CustomerNumberChangeEvent
Represents a customer number change event.Implements
Implements
Constructors
new CustomerNumberChangeEvent()
new CustomerNumberChangeEvent(Creates a new instance of the CustomerNumberChangeEvent class.params
):CustomerNumberChangeEvent
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:42Properties
changeDescription
changeDescription: string
The description of the change.
Implementation of
CustomerNumberChangeEventInterface
.changeDescription
Source
packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:21client
client: Client
The client associated with the event.
Implementation of
CustomerNumberChangeEventInterface
.client
Source
packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:16newWaId
newWaId: string
The new WhatsApp ID.
Implementation of
CustomerNumberChangeEventInterface
.newWaId
Source
packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:26oldWaId
oldWaId: string
The old WhatsApp ID.
Implementation of
CustomerNumberChangeEventInterface
.oldWaId
Source
packages/wapi.js/src/webhook/events/customer-number-changed/index.ts:36timestamp
timestamp: number
The timestamp of the event.
Implementation of
CustomerNumberChangeEventInterface
.timestamp