This commit is contained in:
julien 2025-05-07 11:43:01 +02:00
parent 07ff2c662f
commit 4aa0b2061f

View File

@ -566,8 +566,8 @@ 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", "https://upload.wikimedia.org/wikipedia/commons/thumb/a/a8/TEIDE.JPG/500px-TEIDE.JPG"),
hasMediaAttachment: false, // false if you don't want to send media with it
//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({