Wapi.js Docs / ListInteractionMessageInterface

Interface: ListInteractionMessageInterface

Represents the interface for a list interaction message.

Interface

Extends

Properties

data

data: object

buttonText

buttonText: string

sections

sections: object[]

Source

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

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