Wapi.js Docs / InteractiveMessageInterface

Interface: InteractiveMessageInterface

Represents the interface for an interactive message.

Interface

Extends

  • BaseMessageInterface

Extended by

Properties

interactiveMessageData

interactiveMessageData: object

bodyText

bodyText: string

footerText?

optional footerText: string

type

type: InteractiveMessageTypeEnum

Source

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


messaging_product

messaging_product: "whatsapp"

The messaging product.

Inherited from

BaseMessageInterface.messaging_product

Source

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


recipient_type

recipient_type: "individual"

The recipient type.

Inherited from

BaseMessageInterface.recipient_type

Source

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


type

type: MessageTypeEnum

The type of the message.

Inherited from

BaseMessageInterface.type

Source

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