chore: add custom name option

This commit is contained in:
Muhsin Keloth
2025-08-23 00:54:15 +05:30
parent 5ecf39a3a7
commit f94f436d0b
6 changed files with 56 additions and 6 deletions
@@ -51,6 +51,9 @@ export const buildTemplateParameters = (template, hasMediaHeaderValue) => {
if (!allVariables.header) allVariables.header = {};
allVariables.header.media_url = '';
allVariables.header.media_type = headerComponent.format.toLowerCase();
if (headerComponent.format === 'DOCUMENT') {
allVariables.header.media_name = '';
}
}
// Process button variables