From 9e08493e5dd9af59bc116441287b89688a7adfd7 Mon Sep 17 00:00:00 2001 From: andreyMalyshkin <87826990+andreyMalyshkin@users.noreply.github.com> Date: Thu, 9 Nov 2023 16:05:53 +0600 Subject: [PATCH 1/2] SW-1651:add new htmlExemple --- examples/browserExampleMethods.html | 398 ++++++++++++++++++++++++++++ 1 file changed, 398 insertions(+) create mode 100644 examples/browserExampleMethods.html diff --git a/examples/browserExampleMethods.html b/examples/browserExampleMethods.html new file mode 100644 index 0000000..a4b4f41 --- /dev/null +++ b/examples/browserExampleMethods.html @@ -0,0 +1,398 @@ + + + + + + + + + API HTML5 + + + + +
+

WhatsApp client browser example

+ + +
+
+

Instance data

+ + + + +
+
+ +
+
+

Send Message

+ + + if you sending on mobile phone use @c.us or if you sending in group @g.us + + + Enter idInstance,API Token,phoneNumber and message in the fields your Data and press button Send Message +
+
+ +
+

+
+ +
+
+

Upload file

+ + + + + + + Enter idInstance,API Token,phoneNumber and file in the fields your Data and press button Send File +
+
+ +
+

+
+ +
+
+

Upload file by url

+ + + + + + + + Enter idInstance,API Token,phoneNumber and url in the fields your Data and press button Send File by URL +
+ +
+ +
+

+ +
+ +
+
+

Create group

+ + + + + Enter idInstance,API Token in the fields your Data and press button Create group +
+ +
+ +
+ +

+ +
+ +

Information output

+ +

+
+ +

To get API Token and ID Instance please visit green-api.com

+

Press Send Message button to dispatch hello world to phone

+

+ + + + + +
+ + + + + + + From 67f08846e0284f36b9671dd5a0b232a0e21a17b7 Mon Sep 17 00:00:00 2001 From: andreyMalyshkin <87826990+andreyMalyshkin@users.noreply.github.com> Date: Thu, 9 Nov 2023 17:54:39 +0600 Subject: [PATCH 2/2] fix docs in file --- examples/browserExampleMethods.html | 127 ++++++++++++++++++++++------ 1 file changed, 99 insertions(+), 28 deletions(-) diff --git a/examples/browserExampleMethods.html b/examples/browserExampleMethods.html index a4b4f41..b0bcb7e 100644 --- a/examples/browserExampleMethods.html +++ b/examples/browserExampleMethods.html @@ -66,8 +66,13 @@

WhatsApp client browser example

- - +
- + +

Send Message

@@ -86,14 +96,18 @@

Send Message

if you sending on mobile phone use @c.us or if you sending in group @g.us - Enter idInstance,API Token,phoneNumber and message in the fields your Data and press button Send Message + You can read more about this metods here

- + +

Upload file

@@ -103,14 +117,17 @@

Upload file

- Enter idInstance,API Token,phoneNumber and file in the fields your Data and press button Send File -
+ You can read more about this metods here

- + +

Upload file by url

@@ -121,16 +138,18 @@

Upload file by url

- Enter idInstance,API Token,phoneNumber and url in the fields your Data and press button Send File by URL + You can read more about this metods here
-

-
- + +

Create group

@@ -138,17 +157,20 @@

Create group

- Enter idInstance,API Token in the fields your Data and press button Create group + You can read more about this metods here
-
-

-
- + +

Information output

@@ -167,10 +189,19 @@

Information output