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