Wapi.js Docs / ContactMessageEventInterface

Interface: ContactMessageEventInterface

Represents an event interface for contact messages.

Interface

Extends

Properties

client

client: Client

The client instance associated with the event.

Inherited from

MessageEventInterface.client

Source

packages/wapi.js/src/webhook/events/base/interface.ts:18


contact

contact: ContactMessage

The contact message associated with the event.

Memberof

ContactMessageEventInterface

Source

packages/wapi.js/src/webhook/events/contacts/interface.ts:15


context

context: MessageContext

The context of the message.

Inherited from

MessageEventInterface.context

Source

packages/wapi.js/src/webhook/events/base/interface.ts:35


messageId

messageId: string

The ID of the message.

Inherited from

MessageEventInterface.messageId

Source

packages/wapi.js/src/webhook/events/base/interface.ts:30


timestamp

timestamp: number

The timestamp of the message.

Inherited from

MessageEventInterface.timestamp

Source

packages/wapi.js/src/webhook/events/base/interface.ts:39