fix(WhatsappDirectLine): streamline media handling and improve template creation
Some checks failed
GBCI / build (push) Has been cancelled

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-06-12 11:50:14 -03:00
parent 2e42c36ecb
commit 1d20dd83b0

View file

@ -864,7 +864,7 @@ export class WhatsappDirectLine extends GBService {
{
type: 'HEADER',
format: mediaType.toUpperCase(), // Use IMAGE or VIDEO format
example: { header_handle: [handleMedia] }
example: { header_handle: [handleMedia], header_url: ['https://pragmatismo.com.br/gb-logo.png'] }
},
{
type: 'BODY',