Wapi.js Docs / MessageReadEvent

Class: MessageReadEvent

Implements

Extends

Implements

Constructors

new MessageReadEvent()

new MessageReadEvent(params): MessageReadEvent

Parameters

params

params.client: Client

params.data

params.data.from: string

params.data.timestamp: string

Returns

MessageReadEvent

Overrides

StatusUpdateEvent.constructor

Source

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

Properties

client

client: Client

The client instance associated with the event.

Implementation of

MessageReadEventInterface.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

MessageReadEventInterface.context

Inherited from

StatusUpdateEvent.context

Source

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


timestamp

timestamp: number

The timestamp of the status update.

Implementation of

MessageReadEventInterface.timestamp

Inherited from

StatusUpdateEvent.timestamp

Source

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