This commit is contained in:
julien 2025-05-07 11:39:25 +02:00
parent 43ac6a99b2
commit 07ff2c662f

View File

@ -567,7 +567,7 @@ app.post('/testHeaderImage', async (req, res) => {
header: proto.Message.InteractiveMessage.Header.create({
title: "some title",
hasMediaAttachment: true, // false if you don't want to send media with it
imageMessage: generate("image", "url/path to image"),
imageMessage: generate("image", "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/TEIDE.JPG/500px-TEIDE.JPG"),
//videoMessage: generate("video", "url/path to video"), // if it's an video
}),
nativeFlowMessage: proto.Message.InteractiveMessage.NativeFlowMessage.create({