Skip to content

Commit

Permalink
Updated Code
Browse files Browse the repository at this point in the history
  • Loading branch information
DaggieBlanqx committed Jun 20, 2022
1 parent 4ef06fe commit b516add
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: <br/>
See the image below on how to display the QR code: <br/>
<img src="./static_files/XEIDF3D5FTBDF1.png"
alt="Markdown Monster icon"
style="height:250px;width:250px" />
Expand Down

0 comments on commit b516add

Please sign in to comment.