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 8b30e3a commit 4ef06fe
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,21 @@
});
```

- 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.`,
});
let urlOfImage = result.data.qr_image_url;
```
Example of how to display the QR code: <br/>
<img src="./static_files/XEIDF3D5FTBDF1.png"
alt="Markdown Monster icon"
style="height:250px;width:250px" />
<br/>


- Parse incoming messages:

```js
Expand Down
Binary file added static_files/XEIDF3D5FTBDF1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4ef06fe

Please sign in to comment.