#sending contact card
4 messages · Page 1 of 1 (latest)
let vcard = 'BEGIN:VCARD\n' // metadata of the contact card
+ 'VERSION:3.0\n'
+ 'FN:QUISHOT\n' // full name
+ 'ORG:Lylia BOT;\n' // the organization of the contact
+ 'TEL;type=CELL;type=VOICE;waid=55xxxx8412634:+55 xx xxx41-2634\n' // WhatsApp ID + phone number
+ 'END:VCARD'
msg.reply(vcard)
or
client.sendMessage(number,vcard);