Wapi.js Docs / ProductInquiryEventInterface

Interface: ProductInquiryEventInterface

Represents the interface for a product inquiry event.

Interface

Extends

Properties

catalogId

catalogId: string
The ID of the catalog the product belongs to.

Source

packages/wapi.js/src/webhook/events/product-inquiry/interface.ts:19

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

productId

productId: string
The ID of the product being inquired.

Source

packages/wapi.js/src/webhook/events/product-inquiry/interface.ts:13

text

text: string
The text of the inquiry message.

Source

packages/wapi.js/src/webhook/events/product-inquiry/interface.ts:25

timestamp

timestamp: number
The timestamp of the message.

Inherited from

MessageEventInterface.timestamp

Source

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