From b516adde321d83198e9f7a57fb5f468d3644d35a Mon Sep 17 00:00:00 2001 From: daggieblanqx Date: Mon, 20 Jun 2022 20:46:05 +0300 Subject: [PATCH] Updated Code --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2dd6752..bf7443c 100644 --- a/README.md +++ b/README.md @@ -185,12 +185,13 @@ - Generate a QR code which can be scanned by a recipient: ```js let result = await Whatsapp.createQRCodeMessage({ - message: `Your QR code message here. I am a message hidden in a QR code.`, - }); + message: `Your QR code message here. I am a message hidden in a QR code.`, + imageType: 'png' || 'svg', + }); let urlOfImage = result.data.qr_image_url; ``` - Example of how to display the QR code:
+ See the image below on how to display the QR code:
Markdown Monster icon