fix(WhatsappDirectLine): streamline media handling and improve template creation
Some checks failed
GBCI / build (push) Has been cancelled
Some checks failed
GBCI / build (push) Has been cancelled
This commit is contained in:
parent
2e42c36ecb
commit
1d20dd83b0
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