ffddfdf
This commit is contained in:
parent
609d2f076d
commit
a1b111abea
4
index.js
4
index.js
@ -84,7 +84,7 @@ const initBaileys = async () => {
|
|||||||
if (buttonId === 'doc_1') {
|
if (buttonId === 'doc_1') {
|
||||||
await sock.sendMessage(jid, {
|
await sock.sendMessage(jid, {
|
||||||
document: {
|
document: {
|
||||||
url: 'https://wa.canguidev.fr/static/document1.pdf',
|
url: 'https://merlo-ch.com/uploads/proposition/f_p_250505_0000136_00008_EB00001909.pdf',
|
||||||
},
|
},
|
||||||
mimetype: 'application/pdf',
|
mimetype: 'application/pdf',
|
||||||
fileName: 'Document_1.pdf',
|
fileName: 'Document_1.pdf',
|
||||||
@ -94,7 +94,7 @@ const initBaileys = async () => {
|
|||||||
} else if (buttonId === 'doc_2') {
|
} else if (buttonId === 'doc_2') {
|
||||||
await sock.sendMessage(jid, {
|
await sock.sendMessage(jid, {
|
||||||
document: {
|
document: {
|
||||||
url: 'https://wa.canguidev.fr/static/document2.pdf',
|
url: 'https://merlo-ch.com/uploads/proposition/d_p_250505_0000136_00008_EB00001909.pdf',
|
||||||
},
|
},
|
||||||
mimetype: 'application/pdf',
|
mimetype: 'application/pdf',
|
||||||
fileName: 'Document_2.pdf',
|
fileName: 'Document_2.pdf',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user