Interface: TemplateMessageInterface
Represents the interface for a template message.Interface
TemplateMessageInterfaceExtends
BaseMessageInterface
Properties
data
data: object
language
language: LanguageEnum
The language of the template.
templateName
templateName: string
The name of the template.
Source
packages/wapi.js/src/structures/template/interface.ts:10messaging_product
messaging_product: "whatsapp"
The messaging product.
Inherited from
BaseMessageInterface.messaging_product
Source
packages/wapi.js/src/structures/message/interface.ts:17recipient_type
recipient_type: "individual"
The recipient type.
Inherited from
BaseMessageInterface.recipient_type
Source
packages/wapi.js/src/structures/message/interface.ts:22type
type: MessageTypeEnum
The type of the message.
Inherited from
BaseMessageInterface.type