Class: MessageDeliveryEvent
Represents an event that indicates a message has been successfully delivered.Implements
Extends
Implements
Constructors
new MessageDeliveryEvent()
new MessageDeliveryEvent(Creates an instance of MessageDeliveryEvent.params
):MessageDeliveryEvent
Parameters
• params The parameters for creating the event. • params.client:Client
The client associated with the event.
• params.data
• params.data.from: string
• params.data.timestamp: string
Returns
MessageDeliveryEvent
Overrides
StatusUpdateEvent
.constructor
Source
packages/wapi.js/src/webhook/events/message-delivered/index.ts:24Properties
client
client: Client
The client instance associated with the event.
Implementation of
MessageDeliveryEventInterface.client
Inherited from
StatusUpdateEvent
.client
Source
packages/wapi.js/src/webhook/events/base/index.ts:20context
context: MessageContext
The context of the status update.
Implementation of
MessageDeliveryEventInterface.context
Inherited from
StatusUpdateEvent
.context
Source
packages/wapi.js/src/webhook/events/base/index.ts:207timestamp
timestamp: number
The timestamp of the status update.
Implementation of
MessageDeliveryEventInterface.timestamp
Inherited from
StatusUpdateEvent
.timestamp