fix(WhatsappDirectLine): streamline media handling and improve template creation
This commit is contained in:
parent
e38a95ed1f
commit
a5a7cc1e1b
1 changed files with 1 additions and 1 deletions
|
|
@ -864,7 +864,7 @@ export class WhatsappDirectLine extends GBService {
|
||||||
{
|
{
|
||||||
type: 'HEADER',
|
type: 'HEADER',
|
||||||
format: mediaType.toUpperCase(), // Use IMAGE or VIDEO format
|
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',
|
type: 'BODY',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue