Client
Source: Client.
Client
Source: Client.
Starting point for interacting with the WhatsApp Web API
diff --git a/docs/Chat.html b/docs/Chat.html index 8fd2d47a174..d5a0469ab2c 100644 --- a/docs/Chat.html +++ b/docs/Chat.html @@ -48,13 +48,16 @@
Indicates if the Chat is locked
+Indicates if the chat is muted or not
@@ -636,7 +644,7 @@Source: Client.
Source: Client.
Starting point for interacting with the WhatsApp Web API
Determines how to save and restore sessions. Will use LegacySessionAuth if options.session is set. Otherwise, NoAuth will be used.
+Determines how to save and restore sessions. If not set, NoAuth will be used.
restartOnAuthFail
--
-
@deprecated This option should be set directly on the LegacySessionAuth.
-session
--
-
@deprecated Only here for backwards-compatibility. You should move to using LocalAuth, or set the authStrategy to LegacySessionAuth explicitly.
-takeoverOnConflict
Cancels an active pairing code session and returns to QR code mode
+ + + + + +Send an emoji reaction to a specific message
+ + +| Name | +Type | +Optional | +Description | +
|---|---|---|---|
|
+ messageId + |
+
+ string + |
+
+ + |
+
+ Id of the message to add the reaction. + |
+
|
+ reaction + |
+
+ string + |
+
+ + |
+
+ Emoji to react with. Send an empty string to remove the reaction. + |
+
Promise
Emitted when messages are edited
+Emitted when a message is received as ciphertext (not yet decrypted)
+ + +| Name | +Type | +Optional | +Description | +
|---|---|---|---|
|
+ message + |
+ + + | +
+ + |
+ + | +
Emitted when a ciphertext message failed to decrypt after recovery attempt