Last active
December 28, 2023 13:13
-
-
Save I-NRL/a3374e5cb15eccfdd6c1c3968fbfab30 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { inrl, getBuffer } = require('../lib/') | |
const image = 'https://i.imgur.com/xGPUXbk.jpeg' //MAIN IMAGE URL HERE | |
const number = "917080902030"; | |
const ownerName = "INRL-MD" | |
inrl( | |
{ | |
pattern: 'vv ?(.*)', | |
fromMe: true, | |
desc: 'forward viweOnce message', | |
type: 'misc', | |
}, async (message) => { | |
if(!message.quoted || !message.quoted.viewOnceMessageV2) return await message.send("reply to an vv msg"); | |
const thumb = await getBuffer(image) | |
opt = {} | |
opt.linkPreview = { | |
renderLargerThumbnail: false, | |
showAdAttribution: true, | |
title: "ɪͥᴛͭsᷤ ᴍͫᴇͤ ⏤͟͞ꪶ 𝑉𝑖𝑧 𝑍𝑒𝑟 ꫂ⛧͢", | |
body: "ᴄʟɪᴄᴋ ʜᴇʀᴇ ᴛᴏ ᴳᵉᵗ🫂 !", | |
mediaType: 1, | |
thumbnail: thumb, | |
sourceUrl: "http://wa.me/919526433047?text=_៚ʜᴇʟʟᴏ+ᴠɪᴢ+ᴢᴇʀ+🪄_" | |
} | |
return await message.forwardMessage(message.from,message.quoted, {viewOnce :false}) | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment