Wapi.js Docs / ProductListMessageInterface

Interface: ProductListMessageInterface

Represents the interface for a product list interaction message.

Interface

Extends

Properties

data

data: object

catalogId

catalogId: string

productRetailerId

productRetailerId: string

sections

sections: ProductListSection[]

Source

packages/wapi.js/src/structures/multi-product/interface.ts:21

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

Methods

addSection()

addSection(section): void

Parameters

section: ProductListSection

Returns

void

Source

packages/wapi.js/src/structures/multi-product/interface.ts:26