MessageDeliveryEvent
Wapi.js Docs / MessageDeliveryEvent
Class: MessageDeliveryEvent
Represents an event that indicates a message has been successfully delivered.
Implements
Extends
Implements
Constructors
new MessageDeliveryEvent()
new MessageDeliveryEvent(
params
):MessageDeliveryEvent
Creates an instance of 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
Overrides
Source
packages/wapi.js/src/webhook/events/message-delivered/index.ts:24
Properties
client
client:
Client
The client instance associated with the event.
Implementation of
MessageDeliveryEventInterface.client
Inherited from
Source
packages/wapi.js/src/webhook/events/base/index.ts:20
context
context:
MessageContext
The context of the status update.
Implementation of
MessageDeliveryEventInterface.context
Inherited from
Source
packages/wapi.js/src/webhook/events/base/index.ts:207
timestamp
timestamp:
number
The timestamp of the status update.
Implementation of
MessageDeliveryEventInterface.timestamp
Inherited from
Source
Was this page helpful?