Class: MessageUndeliveredEvent
Represents a message undelivered event. This event occurs when a message fails to be delivered to the recipient.Implements
Extends
Implements
Constructors
new MessageUndeliveredEvent()
new MessageUndeliveredEvent(Creates a new instance of the MessageUndeliveredEvent class.params
):MessageUndeliveredEvent
Parameters
• params The parameters for creating the event. • params.client:Client
The client instance.
• params.data
The data for the event.
• params.data.from: string
• params.data.timestamp: string
Returns
MessageUndeliveredEvent
Overrides
StatusUpdateEvent
.constructor
Source
packages/wapi.js/src/webhook/events/message-undelivered/index.ts:24Properties
client
client: Client
The client instance associated with the event.
Implementation of
MessageUndeliveredEventInterface.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
MessageUndeliveredEventInterface.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
MessageUndeliveredEventInterface.timestamp
Inherited from
StatusUpdateEvent
.timestamp