Update README.md

This commit is contained in:
lampaa 2015-12-07 17:26:27 +03:00
parent 24b3bbfe09
commit 3078022492

View File

@ -126,7 +126,7 @@ navigator.startApp.start([["action", "SEND", "com.whatsapp", "text/plain"], [{"a
```
Example, call whatsapp chat:
```js
navigator.startApp.start([["action", "SEND", "com.whatsapp", "text/plain", "+79123456789"], [{"android.intent.extra.TEXT":"Text..."}, {"chat", true}]], ...);
navigator.startApp.start([["action", "SEND", "com.whatsapp", "text/plain", "+79123456789"], [{"android.intent.extra.TEXT":"Text..."}, {"chat": true}]], ...);
```