Interface: ButtonInteractionMessageInterface
Represents the interface for a button interaction message.Interface
Extends
Properties
data
data: object
buttons
buttons: object
[]
Source
packages/wapi.js/src/structures/interaction/interface.ts:25interactiveMessageData
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:11messaging_product
messaging_product: "whatsapp"
The messaging product.
Inherited from
InteractiveMessageInterface
.messaging_product
Source
packages/wapi.js/src/structures/message/interface.ts:17recipient_type
recipient_type: "individual"
The recipient type.
Inherited from
InteractiveMessageInterface
.recipient_type
Source
packages/wapi.js/src/structures/message/interface.ts:22type
type: MessageTypeEnum
The type of the message.
Inherited from
InteractiveMessageInterface
.type