diff --git a/index.js b/index.js index 5a43288..265a2c5 100644 --- a/index.js +++ b/index.js @@ -561,9 +561,9 @@ app.post('/testHeaderImage', async (req, res) => { }), header: proto.Message.InteractiveMessage.Header.create({ hasMediaAttachment: true, - imageMessage: media.imageMessage, - title: "Logo Merlo", - subtitle: "Header avec image" + imageMessage: generate("image", "https://wa.canguidev.fr/static/logo-merlo-cs-FR.jpg"), + // title: "Logo Merlo", + // subtitle: "Header avec image" }), nativeFlowMessage: proto.Message.InteractiveMessage.NativeFlowMessage.create({ buttons: [