diff --git a/docs/Base.html b/docs/Base.html index 569cb25..ff9ef3d 100644 --- a/docs/Base.html +++ b/docs/Base.html @@ -4,7 +4,7 @@
-Source: Client.
Source: Client.
Starting point for interacting with the WhatsApp Web API
Create a new group
+| Name | +Type | +Optional | +Description | +
|---|---|---|---|
|
+ name + |
+
+ string + |
+
+ + |
+
+ group title + |
+
|
+ participants + |
+
+ Array of (Contact or string) + |
+
+ + |
+
+ an array of Contacts or contact IDs to add to the group + |
+
Object
createRes
+ +string
createRes.gid - ID for the group that was just created
+ +Object with string properties
createRes.missingParticipants - participants that were not added to the group. Keys represent the ID for participant that was not added and its value is a status code that represents the reason why participant could not be added. This is usually 403 if the user's privacy settings don't allow you to add them to groups.
+ +Closes the client
Emitted when the battery percentage for the attached device changes
+| Name | +Type | +Optional | +Description | +||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
+ batteryInfo + |
+
+ object + |
+
+ + |
+
+ Values in
|
+
Emitted when the connection state changes
BATTERY_CHANGED
++
+