import { WhatsAppChannelInterface } from './WhatsAppChannelInterface.mjs'; import { MessageInterface } from '../MessageInterface.mjs'; import { WhatsAppTemplateType } from '../../types/Channels/WhatsApp/WhatsAppTemplateType.mjs'; import { WhatsAppPolicyType } from '../../types/Channels/WhatsApp/WhatsAppPolicyType.mjs'; import '../../enums/WhatsApp/WhatsAppLanguageCodes.mjs'; /** * Represents an interface for WhatsApp template messages. * * @deprecated Please use types instead of interfaces. * * @ignore */ interface WhatsAppTemplateInterface extends WhatsAppChannelInterface, MessageInterface { /** * Specifies the type of message, which is "template" for template messages. */ messageType: 'template'; /** * Defines the WhatsApp policy type for the template message. */ whatsapp: WhatsAppPolicyType; /** * Specifies the details of the template to be sent, including its name and parameters. */ template: WhatsAppTemplateType; } export type { WhatsAppTemplateInterface };