Wapi.js Docs / MessageFailedEvent

Class: MessageFailedEvent

Implements

Extends

Implements

Constructors

new MessageFailedEvent()

new MessageFailedEvent(params): MessageFailedEvent

Parameters

params

params.client: Client

params.data

params.data.failReason: string

params.data.from: string

params.data.timestamp: string

Returns

MessageFailedEvent

Overrides

StatusUpdateEvent.constructor

Source

packages/wapi.js/src/webhook/events/message-failed/index.ts:15

Properties

client

client: Client

The client instance associated with the event.

Implementation of

MessageFailedEventInterface.client

Inherited from

StatusUpdateEvent.client

Source

packages/wapi.js/src/webhook/events/base/index.ts:20


context

context: MessageContext

The context of the status update.

Implementation of

MessageFailedEventInterface.context

Inherited from

StatusUpdateEvent.context

Source

packages/wapi.js/src/webhook/events/base/index.ts:207


failReason

failReason: string

The reason for the message failure.

Implementation of

MessageFailedEventInterface.failReason

Source

packages/wapi.js/src/webhook/events/message-failed/index.ts:14


timestamp

timestamp: number

The timestamp of the status update.

Implementation of

MessageFailedEventInterface.timestamp

Inherited from

StatusUpdateEvent.timestamp

Source

packages/wapi.js/src/webhook/events/base/index.ts:208