diff --git a/docs/Base.html b/docs/Base.html
index f3b22fc..7ab9d04 100644
--- a/docs/Base.html
+++ b/docs/Base.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Base
+ whatsapp-web.js 1.0.1 » Class: Base
@@ -15,7 +15,7 @@
diff --git a/docs/BusinessContact.html b/docs/BusinessContact.html
index f7770ee..82a0d64 100644
--- a/docs/BusinessContact.html
+++ b/docs/BusinessContact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: BusinessContact
+ whatsapp-web.js 1.0.1 » Class: BusinessContact
@@ -15,7 +15,7 @@
diff --git a/docs/Chat.html b/docs/Chat.html
index dd4ec3d..c4579d2 100644
--- a/docs/Chat.html
+++ b/docs/Chat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Chat
+ whatsapp-web.js 1.0.1 » Class: Chat
@@ -15,7 +15,7 @@
diff --git a/docs/Client.html b/docs/Client.html
index 58fa630..39ee573 100644
--- a/docs/Client.html
+++ b/docs/Client.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Client
+ whatsapp-web.js 1.0.1 » Class: Client
@@ -15,7 +15,7 @@
diff --git a/docs/Client.js.html b/docs/Client.js.html
index d0557b4..083658a 100644
--- a/docs/Client.js.html
+++ b/docs/Client.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: Client.js
+ whatsapp-web.js 1.0.1 » Source: Client.js
@@ -15,7 +15,7 @@
@@ -287,7 +287,7 @@ class Client extends EventEmitter {
internalOptions.attachment = content;
content = '';
} else if(options.media instanceof MessageMedia) {
- internalOptions.media = options.media;
+ internalOptions.attachment = options.media;
internalOptions.caption = content;
} else if(content instanceof Location) {
internalOptions.location = content;
diff --git a/docs/ClientInfo.html b/docs/ClientInfo.html
index 070ecfa..9d1dba4 100644
--- a/docs/ClientInfo.html
+++ b/docs/ClientInfo.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: ClientInfo
+ whatsapp-web.js 1.0.1 » Class: ClientInfo
@@ -15,7 +15,7 @@
diff --git a/docs/Contact.html b/docs/Contact.html
index ddbd3ee..716a928 100644
--- a/docs/Contact.html
+++ b/docs/Contact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Contact
+ whatsapp-web.js 1.0.1 » Class: Contact
@@ -15,7 +15,7 @@
diff --git a/docs/GroupChat.html b/docs/GroupChat.html
index e37fb2c..cf4faf0 100644
--- a/docs/GroupChat.html
+++ b/docs/GroupChat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: GroupChat
+ whatsapp-web.js 1.0.1 » Class: GroupChat
@@ -15,7 +15,7 @@
diff --git a/docs/Location.html b/docs/Location.html
index 35872ac..21e8d3e 100644
--- a/docs/Location.html
+++ b/docs/Location.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Location
+ whatsapp-web.js 1.0.1 » Class: Location
@@ -15,7 +15,7 @@
diff --git a/docs/Message.html b/docs/Message.html
index e0fdf94..5d2efc9 100644
--- a/docs/Message.html
+++ b/docs/Message.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Message
+ whatsapp-web.js 1.0.1 » Class: Message
@@ -15,7 +15,7 @@
diff --git a/docs/MessageMedia.html b/docs/MessageMedia.html
index 00c061d..d8cc2d4 100644
--- a/docs/MessageMedia.html
+++ b/docs/MessageMedia.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: MessageMedia
+ whatsapp-web.js 1.0.1 » Class: MessageMedia
@@ -15,7 +15,7 @@
diff --git a/docs/PrivateChat.html b/docs/PrivateChat.html
index e66230e..280a7e4 100644
--- a/docs/PrivateChat.html
+++ b/docs/PrivateChat.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: PrivateChat
+ whatsapp-web.js 1.0.1 » Class: PrivateChat
@@ -15,7 +15,7 @@
diff --git a/docs/PrivateContact.html b/docs/PrivateContact.html
index 07f50ea..3d2b353 100644
--- a/docs/PrivateContact.html
+++ b/docs/PrivateContact.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: PrivateContact
+ whatsapp-web.js 1.0.1 » Class: PrivateContact
@@ -15,7 +15,7 @@
diff --git a/docs/Util.html b/docs/Util.html
index 5ee11e4..5e40de2 100644
--- a/docs/Util.html
+++ b/docs/Util.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Class: Util
+ whatsapp-web.js 1.0.1 » Class: Util
@@ -15,7 +15,7 @@
diff --git a/docs/global.html b/docs/global.html
index 91f25fc..134674d 100644
--- a/docs/global.html
+++ b/docs/global.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Globals
+ whatsapp-web.js 1.0.1 » Globals
@@ -15,7 +15,7 @@
diff --git a/docs/index.html b/docs/index.html
index d4cb18b..d721820 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Home
+ whatsapp-web.js 1.0.1 » Home
@@ -15,7 +15,7 @@
@@ -27,7 +27,7 @@
diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html
index 2c6ced4..6ff69f9 100644
--- a/docs/structures_Base.js.html
+++ b/docs/structures_Base.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/Base.js
+ whatsapp-web.js 1.0.1 » Source: structures/Base.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_BusinessContact.js.html b/docs/structures_BusinessContact.js.html
index b9b986b..fa0a2aa 100644
--- a/docs/structures_BusinessContact.js.html
+++ b/docs/structures_BusinessContact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/BusinessContact.js
+ whatsapp-web.js 1.0.1 » Source: structures/BusinessContact.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html
index 37e07ad..36f43ea 100644
--- a/docs/structures_Chat.js.html
+++ b/docs/structures_Chat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/Chat.js
+ whatsapp-web.js 1.0.1 » Source: structures/Chat.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html
index f8a998f..eaf6a0d 100644
--- a/docs/structures_ClientInfo.js.html
+++ b/docs/structures_ClientInfo.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/ClientInfo.js
+ whatsapp-web.js 1.0.1 » Source: structures/ClientInfo.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html
index 9276151..2484b4f 100644
--- a/docs/structures_Contact.js.html
+++ b/docs/structures_Contact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/Contact.js
+ whatsapp-web.js 1.0.1 » Source: structures/Contact.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html
index 7e588b5..8f2a09d 100644
--- a/docs/structures_GroupChat.js.html
+++ b/docs/structures_GroupChat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/GroupChat.js
+ whatsapp-web.js 1.0.1 » Source: structures/GroupChat.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html
index 7e4b15d..e58e8e6 100644
--- a/docs/structures_Location.js.html
+++ b/docs/structures_Location.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/Location.js
+ whatsapp-web.js 1.0.1 » Source: structures/Location.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html
index 388b723..e640399 100644
--- a/docs/structures_Message.js.html
+++ b/docs/structures_Message.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/Message.js
+ whatsapp-web.js 1.0.1 » Source: structures/Message.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html
index 5cbd128..a8e1221 100644
--- a/docs/structures_MessageMedia.js.html
+++ b/docs/structures_MessageMedia.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/MessageMedia.js
+ whatsapp-web.js 1.0.1 » Source: structures/MessageMedia.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html
index ff96991..4833152 100644
--- a/docs/structures_PrivateChat.js.html
+++ b/docs/structures_PrivateChat.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/PrivateChat.js
+ whatsapp-web.js 1.0.1 » Source: structures/PrivateChat.js
@@ -15,7 +15,7 @@
diff --git a/docs/structures_PrivateContact.js.html b/docs/structures_PrivateContact.js.html
index 1e60329..791b44f 100644
--- a/docs/structures_PrivateContact.js.html
+++ b/docs/structures_PrivateContact.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: structures/PrivateContact.js
+ whatsapp-web.js 1.0.1 » Source: structures/PrivateContact.js
@@ -15,7 +15,7 @@
diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html
index b5c6f58..d9c3e26 100644
--- a/docs/util_Constants.js.html
+++ b/docs/util_Constants.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: util/Constants.js
+ whatsapp-web.js 1.0.1 » Source: util/Constants.js
@@ -15,7 +15,7 @@
diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html
index 6d70d39..de701a5 100644
--- a/docs/util_Util.js.html
+++ b/docs/util_Util.js.html
@@ -4,7 +4,7 @@
- whatsapp-web.js 1.0.0 » Source: util/Util.js
+ whatsapp-web.js 1.0.1 » Source: util/Util.js
@@ -15,7 +15,7 @@
diff --git a/package.json b/package.json
index d0e4175..9331a4c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "whatsapp-web.js",
- "version": "1.0.0-post",
+ "version": "1.0.1",
"description": "Library for interacting with the WhatsApp Web API ",
"main": "./index.js",
"scripts": {