new(basic.gblib): Video in WPP templates.

This commit is contained in:
Rodrigo Rodriguez 2024-09-05 15:03:38 -03:00
parent 14b833a580
commit 72a0950fdb

View file

@ -684,6 +684,8 @@ export class GBConversationalService {
}
]
};
data['components'][0]['parameters'][0][mediaType] = {link: urlMedia};
await this.sendToMobile(min, mobile, data, null);
GBLogEx.info(min, `Sending answer file to mobile: ${mobile}. Header: ${urlMedia}`);