feat: whatsapp cloud api components in template

This commit is contained in:
Davidson Gomes
2024-02-17 18:41:35 -03:00
parent 9ef14d11f8
commit ab89ef8db3
3 changed files with 7 additions and 0 deletions

View File

@@ -288,6 +288,7 @@ export const templateMessageSchema: JSONSchema7 = {
properties: {
name: { type: 'string' },
language: { type: 'string' },
components: { type: 'array' },
},
required: ['name', 'language'],
...isNotEmpty('name', 'language'),