Class: abstract
StatusUpdateEvent
Represents the status update event for webhook events.
Implements
Extends
Extended by
Implements
Constructors
new StatusUpdateEvent()
new StatusUpdateEvent(Creates a new instance of the StatusUpdateEvent class.params
):StatusUpdateEvent
Parameters
• params The parameters for creating the StatusUpdateEvent. • params.client:Client
The client instance.
• params.from: string
The sender’s phone number.
• params.timestamp: string
The timestamp of the status update.
Returns
StatusUpdateEvent
Overrides
BaseEvent
.constructor
Memberof
StatusUpdateEventSource
packages/wapi.js/src/webhook/events/base/index.ts:219Properties
client
client: Client
The client instance associated with the event.
Implementation of
StatusUpdateEventInterface
.client
Inherited from
BaseEvent
.client
Source
packages/wapi.js/src/webhook/events/base/index.ts:20context
context: MessageContext
The context of the status update.
Implementation of
StatusUpdateEventInterface
.context
Source
packages/wapi.js/src/webhook/events/base/index.ts:207timestamp
timestamp: number
The timestamp of the status update.
Implementation of
StatusUpdateEventInterface
.timestamp