dsdsd
This commit is contained in:
parent
43ac6a99b2
commit
07ff2c662f
2
index.js
2
index.js
@ -567,7 +567,7 @@ 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: 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
|
//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