Wapi.js Docs / TextMessageEventInterface

Interface: TextMessageEventInterface

Represents an event interface for a text message.

Interface

TextMessageEventInterface

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


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


text

text: TextMessage

Source

packages/wapi.js/src/webhook/events/text/interface.ts:10


timestamp

timestamp: number

The timestamp of the message.

Inherited from

MessageEventInterface.timestamp

Source

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