gfgfgf
This commit is contained in:
parent
07ff2c662f
commit
4aa0b2061f
4
index.js
4
index.js
@ -566,8 +566,8 @@ app.post('/testHeaderImage', async (req, res) => {
|
|||||||
}),
|
}),
|
||||||
header: proto.Message.InteractiveMessage.Header.create({
|
header: proto.Message.InteractiveMessage.Header.create({
|
||||||
title: "some title",
|
title: "some title",
|
||||||
hasMediaAttachment: true, // false if you don't want to send media with it
|
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"),
|
//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
|
//videoMessage: generate("video", "url/path to video"), // if it's an video
|
||||||
}),
|
}),
|
||||||
nativeFlowMessage: proto.Message.InteractiveMessage.NativeFlowMessage.create({
|
nativeFlowMessage: proto.Message.InteractiveMessage.NativeFlowMessage.create({
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user