Wapi.js Docs / ProductMessageMessageInterface

Interface: ProductMessageMessageInterface

Represents the interface for a product interaction message.

Interface

Extends

Properties

data

data: object

catalogId

catalogId: string

productRetailerId

productRetailerId: string

Source

packages/wapi.js/src/structures/product/interface.ts:10


interactiveMessageData

interactiveMessageData: object

bodyText

bodyText: string

footerText?

optional footerText: string

type

type: InteractiveMessageTypeEnum

Inherited from

InteractiveMessageInterface.interactiveMessageData

Source

packages/wapi.js/src/structures/interaction/interface.ts:11


messaging_product

messaging_product: "whatsapp"

The messaging product.

Inherited from

InteractiveMessageInterface.messaging_product

Source

packages/wapi.js/src/structures/message/interface.ts:17


recipient_type

recipient_type: "individual"

The recipient type.

Inherited from

InteractiveMessageInterface.recipient_type

Source

packages/wapi.js/src/structures/message/interface.ts:22


type

type: MessageTypeEnum

The type of the message.

Inherited from

InteractiveMessageInterface.type

Source

packages/wapi.js/src/structures/message/interface.ts:12