diff --git a/docs/Base.html b/docs/Base.html
index 617e8b5..6109dee 100644
--- a/docs/Base.html
+++ b/docs/Base.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Base
+ whatsapp-web.js 1.12.5 » Class: Base
@@ -15,7 +15,7 @@
@@ -50,7 +50,7 @@
diff --git a/docs/BusinessContact.html b/docs/BusinessContact.html
index 69fa130..bbc3171 100644
--- a/docs/BusinessContact.html
+++ b/docs/BusinessContact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: BusinessContact
+ whatsapp-web.js 1.12.5 » Class: BusinessContact
@@ -15,7 +15,7 @@
@@ -290,7 +290,7 @@
diff --git a/docs/Chat.html b/docs/Chat.html
index 2b913b0..a703a48 100644
--- a/docs/Chat.html
+++ b/docs/Chat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Chat
+ whatsapp-web.js 1.12.5 » Class: Chat
@@ -15,7 +15,7 @@
@@ -483,7 +483,7 @@
diff --git a/docs/Client.html b/docs/Client.html
index 04aa016..c2df37a 100644
--- a/docs/Client.html
+++ b/docs/Client.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Client
+ whatsapp-web.js 1.12.5 » Class: Client
@@ -15,7 +15,7 @@
@@ -1987,7 +1987,7 @@
diff --git a/docs/Client.js.html b/docs/Client.js.html
index a15186e..74d1656 100644
--- a/docs/Client.js.html
+++ b/docs/Client.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: Client.js
+ whatsapp-web.js 1.12.5 » Source: Client.js
@@ -15,7 +15,7 @@
@@ -461,7 +461,7 @@ class Client extends EventEmitter {
* @property {string} [quotedMessageId] - Id of the message that is being quoted (or replied to)
* @property {Contact[]} [mentions] - Contacts that are being mentioned in the message
* @property {boolean} [sendSeen=true] - Mark the conversation as seen after sending the message
- * @property {boolean} [media] - Media to be sent
+ * @property {MessageMedia} [media] - Media to be sent
*/
/**
@@ -893,7 +893,7 @@ module.exports = Client;
diff --git a/docs/ClientInfo.html b/docs/ClientInfo.html
index 86d0c38..7ea2f7b 100644
--- a/docs/ClientInfo.html
+++ b/docs/ClientInfo.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: ClientInfo
+ whatsapp-web.js 1.12.5 » Class: ClientInfo
@@ -15,7 +15,7 @@
@@ -238,7 +238,7 @@
diff --git a/docs/Contact.html b/docs/Contact.html
index e771640..f599dd2 100644
--- a/docs/Contact.html
+++ b/docs/Contact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Contact
+ whatsapp-web.js 1.12.5 » Class: Contact
@@ -15,7 +15,7 @@
@@ -257,7 +257,7 @@
diff --git a/docs/GroupChat.html b/docs/GroupChat.html
index 1ecf5ad..012cad9 100644
--- a/docs/GroupChat.html
+++ b/docs/GroupChat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: GroupChat
+ whatsapp-web.js 1.12.5 » Class: GroupChat
@@ -15,7 +15,7 @@
@@ -921,7 +921,7 @@
diff --git a/docs/GroupNotification.html b/docs/GroupNotification.html
index d536749..dd0ba45 100644
--- a/docs/GroupNotification.html
+++ b/docs/GroupNotification.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: GroupNotification
+ whatsapp-web.js 1.12.5 » Class: GroupNotification
@@ -15,7 +15,7 @@
@@ -233,7 +233,7 @@
diff --git a/docs/InterfaceController.html b/docs/InterfaceController.html
index d1c9ff8..bf17f92 100644
--- a/docs/InterfaceController.html
+++ b/docs/InterfaceController.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: InterfaceController
+ whatsapp-web.js 1.12.5 » Class: InterfaceController
@@ -15,7 +15,7 @@
@@ -263,7 +263,7 @@
diff --git a/docs/Label.html b/docs/Label.html
index 15d8acd..53edb44 100644
--- a/docs/Label.html
+++ b/docs/Label.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Label
+ whatsapp-web.js 1.12.5 » Class: Label
@@ -15,7 +15,7 @@
@@ -163,7 +163,7 @@
diff --git a/docs/Location.html b/docs/Location.html
index a6ce689..2100f36 100644
--- a/docs/Location.html
+++ b/docs/Location.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Location
+ whatsapp-web.js 1.12.5 » Class: Location
@@ -15,7 +15,7 @@
@@ -149,7 +149,7 @@
diff --git a/docs/Message.html b/docs/Message.html
index 661e60c..a6d8f28 100644
--- a/docs/Message.html
+++ b/docs/Message.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Message
+ whatsapp-web.js 1.12.5 » Class: Message
@@ -15,7 +15,7 @@
@@ -487,7 +487,7 @@
diff --git a/docs/MessageMedia.html b/docs/MessageMedia.html
index d330839..5b998cd 100644
--- a/docs/MessageMedia.html
+++ b/docs/MessageMedia.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: MessageMedia
+ whatsapp-web.js 1.12.5 » Class: MessageMedia
@@ -15,7 +15,7 @@
@@ -208,7 +208,7 @@
diff --git a/docs/PrivateChat.html b/docs/PrivateChat.html
index 4f89fb3..978ead7 100644
--- a/docs/PrivateChat.html
+++ b/docs/PrivateChat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: PrivateChat
+ whatsapp-web.js 1.12.5 » Class: PrivateChat
@@ -15,7 +15,7 @@
@@ -519,7 +519,7 @@
diff --git a/docs/PrivateContact.html b/docs/PrivateContact.html
index 3dcd8bb..7713742 100644
--- a/docs/PrivateContact.html
+++ b/docs/PrivateContact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: PrivateContact
+ whatsapp-web.js 1.12.5 » Class: PrivateContact
@@ -15,7 +15,7 @@
@@ -283,7 +283,7 @@
diff --git a/docs/Util.html b/docs/Util.html
index 693aae6..0abd809 100644
--- a/docs/Util.html
+++ b/docs/Util.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Class: Util
+ whatsapp-web.js 1.12.5 » Class: Util
@@ -15,7 +15,7 @@
@@ -230,7 +230,7 @@
diff --git a/docs/global.html b/docs/global.html
index 38c1f5a..5f07e30 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Globals
+ whatsapp-web.js 1.12.5 » Globals
@@ -15,7 +15,7 @@
@@ -1411,7 +1411,7 @@
media
- boolean
+ MessageMedia
|
Yes
@@ -1435,7 +1435,7 @@
diff --git a/docs/index.html b/docs/index.html
index f333b3e..856326c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Home
+ whatsapp-web.js 1.12.5 » Home
@@ -15,7 +15,7 @@
@@ -27,11 +27,11 @@
- 
+ 
whatsapp-web.js
A WhatsApp API client that connects through the WhatsApp Web browser app
It uses Puppeteer to run a real instance of Whatsapp Web to avoid getting blocked.
@@ -2366,7 +2366,7 @@ client.initialize();
diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html
index 62bda44..5ab039e 100644
--- a/docs/structures_Base.js.html
+++ b/docs/structures_Base.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Base.js
+ whatsapp-web.js 1.12.5 » Source: structures/Base.js
@@ -15,7 +15,7 @@
@@ -60,7 +60,7 @@ module.exports = Base;
diff --git a/docs/structures_BusinessContact.js.html b/docs/structures_BusinessContact.js.html
index f91c0f2..16778b7 100644
--- a/docs/structures_BusinessContact.js.html
+++ b/docs/structures_BusinessContact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/BusinessContact.js
+ whatsapp-web.js 1.12.5 » Source: structures/BusinessContact.js
@@ -15,7 +15,7 @@
@@ -59,7 +59,7 @@ module.exports = BusinessContact;
diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html
index cf8fe53..56fdc2a 100644
--- a/docs/structures_Chat.js.html
+++ b/docs/structures_Chat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Chat.js
+ whatsapp-web.js 1.12.5 » Source: structures/Chat.js
@@ -15,7 +15,7 @@
@@ -288,7 +288,7 @@ module.exports = Chat;
diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html
index c3a9bd9..f563da1 100644
--- a/docs/structures_ClientInfo.js.html
+++ b/docs/structures_ClientInfo.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/ClientInfo.js
+ whatsapp-web.js 1.12.5 » Source: structures/ClientInfo.js
@@ -15,7 +15,7 @@
@@ -108,7 +108,7 @@ module.exports = ClientInfo;
diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html
index 772afee..1f570a5 100644
--- a/docs/structures_Contact.js.html
+++ b/docs/structures_Contact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Contact.js
+ whatsapp-web.js 1.12.5 » Source: structures/Contact.js
@@ -15,7 +15,7 @@
@@ -219,7 +219,7 @@ module.exports = Contact;
diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html
index 12ba56a..4df2a9f 100644
--- a/docs/structures_GroupChat.js.html
+++ b/docs/structures_GroupChat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/GroupChat.js
+ whatsapp-web.js 1.12.5 » Source: structures/GroupChat.js
@@ -15,7 +15,7 @@
@@ -239,7 +239,7 @@ module.exports = GroupChat;
diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html
index 85215f3..ff0d1b7 100644
--- a/docs/structures_GroupNotification.js.html
+++ b/docs/structures_GroupNotification.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/GroupNotification.js
+ whatsapp-web.js 1.12.5 » Source: structures/GroupNotification.js
@@ -15,7 +15,7 @@
@@ -143,7 +143,7 @@ module.exports = GroupNotification;
diff --git a/docs/structures_Label.js.html b/docs/structures_Label.js.html
index 696396a..69eafb6 100644
--- a/docs/structures_Label.js.html
+++ b/docs/structures_Label.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Label.js
+ whatsapp-web.js 1.12.5 » Source: structures/Label.js
@@ -15,7 +15,7 @@
@@ -88,7 +88,7 @@ module.exports = Label;
diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html
index fe9c9c9..4100e77 100644
--- a/docs/structures_Location.js.html
+++ b/docs/structures_Location.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Location.js
+ whatsapp-web.js 1.12.5 » Source: structures/Location.js
@@ -15,7 +15,7 @@
@@ -71,7 +71,7 @@ module.exports = Location;
diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html
index e1ff300..2b3e15a 100644
--- a/docs/structures_Message.js.html
+++ b/docs/structures_Message.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/Message.js
+ whatsapp-web.js 1.12.5 » Source: structures/Message.js
@@ -15,7 +15,7 @@
@@ -322,7 +322,7 @@ class Message extends Base {
* Stars this message
*/
async star() {
- await this.pupPage.evaluate((msgId) => {
+ await this.client.pupPage.evaluate((msgId) => {
let msg = window.Store.Msg.get(msgId);
if (msg.canStar()) {
@@ -335,7 +335,7 @@ class Message extends Base {
* Unstars this message
*/
async unstar() {
- await this.pupPage.evaluate((msgId) => {
+ await this.client.pupPage.evaluate((msgId) => {
let msg = window.Store.Msg.get(msgId);
if (msg.canStar()) {
@@ -386,7 +386,7 @@ module.exports = Message;
diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html
index eccae9f..58ed8b2 100644
--- a/docs/structures_MessageMedia.js.html
+++ b/docs/structures_MessageMedia.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/MessageMedia.js
+ whatsapp-web.js 1.12.5 » Source: structures/MessageMedia.js
@@ -15,7 +15,7 @@
@@ -86,7 +86,7 @@ module.exports = MessageMedia;
diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html
index 9858c84..7326f5d 100644
--- a/docs/structures_PrivateChat.js.html
+++ b/docs/structures_PrivateChat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/PrivateChat.js
+ whatsapp-web.js 1.12.5 » Source: structures/PrivateChat.js
@@ -15,7 +15,7 @@
@@ -51,7 +51,7 @@ module.exports = PrivateChat;
diff --git a/docs/structures_PrivateContact.js.html b/docs/structures_PrivateContact.js.html
index 934c432..4cbc1fa 100644
--- a/docs/structures_PrivateContact.js.html
+++ b/docs/structures_PrivateContact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: structures/PrivateContact.js
+ whatsapp-web.js 1.12.5 » Source: structures/PrivateContact.js
@@ -15,7 +15,7 @@
@@ -51,7 +51,7 @@ module.exports = PrivateContact;
diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html
index acf907e..092e10c 100644
--- a/docs/util_Constants.js.html
+++ b/docs/util_Constants.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: util/Constants.js
+ whatsapp-web.js 1.12.5 » Source: util/Constants.js
@@ -15,7 +15,7 @@
@@ -174,7 +174,7 @@ exports.MessageAck = {
diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html
index 9bb04e8..f40ccdd 100644
--- a/docs/util_InterfaceController.js.html
+++ b/docs/util_InterfaceController.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: util/InterfaceController.js
+ whatsapp-web.js 1.12.5 » Source: util/InterfaceController.js
@@ -15,7 +15,7 @@
@@ -116,7 +116,7 @@ module.exports = InterfaceController;
diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html
index 14644a3..470ac57 100644
--- a/docs/util_Util.js.html
+++ b/docs/util_Util.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.12.4 » Source: util/Util.js
+ whatsapp-web.js 1.12.5 » Source: util/Util.js
@@ -15,7 +15,7 @@
@@ -197,7 +197,7 @@ module.exports = Util;
diff --git a/package.json b/package.json
index 83d8113..6476579 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "whatsapp-web.js",
- "version": "1.12.4",
+ "version": "1.12.5",
"description": "Library for interacting with the WhatsApp Web API ",
"main": "./index.js",
"typings": "./index.d.ts",
|