@@ -4242,7 +4242,7 @@ limitations under the License.

diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html index 3d9dd9e..2c2c694 100644 --- a/docs/structures_Base.js.html +++ b/docs/structures_Base.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Base.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Base.js @@ -15,7 +15,7 @@ @@ -60,7 +60,7 @@ module.exports = Base; diff --git a/docs/structures_Broadcast.js.html b/docs/structures_Broadcast.js.html index a814e1a..dc266b9 100644 --- a/docs/structures_Broadcast.js.html +++ b/docs/structures_Broadcast.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Broadcast.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Broadcast.js @@ -15,7 +15,7 @@ @@ -108,7 +108,7 @@ module.exports = Broadcast; diff --git a/docs/structures_BusinessContact.js.html b/docs/structures_BusinessContact.js.html index 29f4b0b..6375d3c 100644 --- a/docs/structures_BusinessContact.js.html +++ b/docs/structures_BusinessContact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/BusinessContact.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/BusinessContact.js @@ -15,7 +15,7 @@ @@ -59,7 +59,7 @@ module.exports = BusinessContact; diff --git a/docs/structures_Buttons.js.html b/docs/structures_Buttons.js.html index d9bd043..9d4222c 100644 --- a/docs/structures_Buttons.js.html +++ b/docs/structures_Buttons.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Buttons.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Buttons.js @@ -15,7 +15,7 @@ @@ -120,7 +120,7 @@ module.exports = Buttons; diff --git a/docs/structures_Call.js.html b/docs/structures_Call.js.html index 1ae5d35..4269fe7 100644 --- a/docs/structures_Call.js.html +++ b/docs/structures_Call.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Call.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Call.js @@ -15,7 +15,7 @@ @@ -114,7 +114,7 @@ module.exports = Call; diff --git a/docs/structures_Channel.js.html b/docs/structures_Channel.js.html index b44b402..601fa71 100644 --- a/docs/structures_Channel.js.html +++ b/docs/structures_Channel.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Channel.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Channel.js @@ -15,7 +15,7 @@ @@ -421,7 +421,7 @@ module.exports = Channel; diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html index c745743..c7699c9 100644 --- a/docs/structures_Chat.js.html +++ b/docs/structures_Chat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Chat.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Chat.js @@ -15,7 +15,7 @@ @@ -330,7 +330,7 @@ module.exports = Chat; diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html index c6b7ef9..714484c 100644 --- a/docs/structures_ClientInfo.js.html +++ b/docs/structures_ClientInfo.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/ClientInfo.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/ClientInfo.js @@ -15,7 +15,7 @@ @@ -109,7 +109,7 @@ module.exports = ClientInfo; diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html index 1f92b03..6fcd073 100644 --- a/docs/structures_Contact.js.html +++ b/docs/structures_Contact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Contact.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Contact.js @@ -15,7 +15,7 @@ @@ -247,7 +247,7 @@ module.exports = Contact; diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html index 07767c7..3eedbbf 100644 --- a/docs/structures_GroupChat.js.html +++ b/docs/structures_GroupChat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/GroupChat.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/GroupChat.js @@ -15,7 +15,7 @@ @@ -512,7 +512,7 @@ module.exports = GroupChat; diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html index adf6526..3a1ace8 100644 --- a/docs/structures_GroupNotification.js.html +++ b/docs/structures_GroupNotification.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/GroupNotification.js + whatsapp-web.js 1.31.1-alpha.0 » 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 480a64a..cfc45d5 100644 --- a/docs/structures_Label.js.html +++ b/docs/structures_Label.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Label.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Label.js @@ -15,7 +15,7 @@ @@ -88,7 +88,7 @@ module.exports = Label; diff --git a/docs/structures_List.js.html b/docs/structures_List.js.html index a56c2f5..5ec71bb 100644 --- a/docs/structures_List.js.html +++ b/docs/structures_List.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/List.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/List.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = List; diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html index 25f00a9..c951b9f 100644 --- a/docs/structures_Location.js.html +++ b/docs/structures_Location.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Location.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Location.js @@ -15,7 +15,7 @@ @@ -100,7 +100,7 @@ module.exports = Location; diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html index fa2cb11..b26e1d9 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Message.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Message.js @@ -15,7 +15,7 @@ @@ -316,7 +316,7 @@ class Message extends Base { this.allowMultipleAnswers = Boolean(!data.pollSelectableOptionsCount); this.pollInvalidated = data.pollInvalidated; this.isSentCagPollCreation = data.isSentCagPollCreation; - this.messageSecret = Object.keys(data.messageSecret).map((key) => data.messageSecret[key]); + this.messageSecret = data.messageSecret ? Object.keys(data.messageSecret).map((key) => data.messageSecret[key]) : []; } return super._patch(data); @@ -743,7 +743,7 @@ module.exports = Message; diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html index c6aaa1d..de303bc 100644 --- a/docs/structures_MessageMedia.js.html +++ b/docs/structures_MessageMedia.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/MessageMedia.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/MessageMedia.js @@ -15,7 +15,7 @@ @@ -150,7 +150,7 @@ module.exports = MessageMedia; diff --git a/docs/structures_Order.js.html b/docs/structures_Order.js.html index c7ec826..41ca653 100644 --- a/docs/structures_Order.js.html +++ b/docs/structures_Order.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Order.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Order.js @@ -15,7 +15,7 @@ @@ -90,7 +90,7 @@ module.exports = Order; diff --git a/docs/structures_Payment.js.html b/docs/structures_Payment.js.html index c5d40cf..380347c 100644 --- a/docs/structures_Payment.js.html +++ b/docs/structures_Payment.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Payment.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Payment.js @@ -15,7 +15,7 @@ @@ -118,7 +118,7 @@ module.exports = Payment; diff --git a/docs/structures_Poll.js.html b/docs/structures_Poll.js.html index baa3e03..8907f8b 100644 --- a/docs/structures_Poll.js.html +++ b/docs/structures_Poll.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Poll.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Poll.js @@ -15,7 +15,7 @@ @@ -83,7 +83,7 @@ module.exports = Poll; diff --git a/docs/structures_PollVote.js.html b/docs/structures_PollVote.js.html index 777b26a..c0f4b67 100644 --- a/docs/structures_PollVote.js.html +++ b/docs/structures_PollVote.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/PollVote.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/PollVote.js @@ -15,7 +15,7 @@ @@ -100,7 +100,7 @@ module.exports = PollVote; diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html index ab39e7b..ea233e8 100644 --- a/docs/structures_PrivateChat.js.html +++ b/docs/structures_PrivateChat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/PrivateChat.js + whatsapp-web.js 1.31.1-alpha.0 » 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 0f7bb5b..2c085ea 100644 --- a/docs/structures_PrivateContact.js.html +++ b/docs/structures_PrivateContact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/PrivateContact.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/PrivateContact.js @@ -15,7 +15,7 @@ @@ -51,7 +51,7 @@ module.exports = PrivateContact; diff --git a/docs/structures_Product.js.html b/docs/structures_Product.js.html index c9e33fe..fdba17c 100644 --- a/docs/structures_Product.js.html +++ b/docs/structures_Product.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Product.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Product.js @@ -15,7 +15,7 @@ @@ -106,7 +106,7 @@ module.exports = Product; diff --git a/docs/structures_ProductMetadata.js.html b/docs/structures_ProductMetadata.js.html index 76beace..0c65eba 100644 --- a/docs/structures_ProductMetadata.js.html +++ b/docs/structures_ProductMetadata.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/ProductMetadata.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/ProductMetadata.js @@ -15,7 +15,7 @@ @@ -63,7 +63,7 @@ module.exports = ProductMetadata; diff --git a/docs/structures_Reaction.js.html b/docs/structures_Reaction.js.html index 8653c3f..8b06a08 100644 --- a/docs/structures_Reaction.js.html +++ b/docs/structures_Reaction.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: structures/Reaction.js + whatsapp-web.js 1.31.1-alpha.0 » Source: structures/Reaction.js @@ -15,7 +15,7 @@ @@ -107,7 +107,7 @@ module.exports = Reaction; diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html index 68f630a..6a845a6 100644 --- a/docs/util_Constants.js.html +++ b/docs/util_Constants.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/Constants.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/Constants.js @@ -15,7 +15,7 @@ @@ -215,7 +215,7 @@ exports.MessageAck = { diff --git a/docs/util_Injected_LegacyStore.js.html b/docs/util_Injected_LegacyStore.js.html index 9fed0d0..73e8889 100644 --- a/docs/util_Injected_LegacyStore.js.html +++ b/docs/util_Injected_LegacyStore.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/Injected/LegacyStore.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/Injected/LegacyStore.js @@ -15,7 +15,7 @@ @@ -184,7 +184,7 @@ exports.ExposeLegacyStore = () => { diff --git a/docs/util_Injected_Store.js.html b/docs/util_Injected_Store.js.html index 4713c33..63f9656 100644 --- a/docs/util_Injected_Store.js.html +++ b/docs/util_Injected_Store.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/Injected/Store.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/Injected/Store.js @@ -15,7 +15,7 @@ @@ -254,7 +254,7 @@ exports.ExposeStore = () => { diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html index f5d8238..d9364d8 100644 --- a/docs/util_InterfaceController.js.html +++ b/docs/util_InterfaceController.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/InterfaceController.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/InterfaceController.js @@ -15,7 +15,7 @@ @@ -165,7 +165,7 @@ module.exports = InterfaceController; diff --git a/docs/util_Puppeteer.js.html b/docs/util_Puppeteer.js.html index ecab496..e53a080 100644 --- a/docs/util_Puppeteer.js.html +++ b/docs/util_Puppeteer.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/Puppeteer.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/Puppeteer.js @@ -15,7 +15,7 @@ @@ -62,7 +62,7 @@ module.exports = {exposeFunctionIfAbsent}; diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html index e5c117c..175ce0b 100644 --- a/docs/util_Util.js.html +++ b/docs/util_Util.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: util/Util.js + whatsapp-web.js 1.31.1-alpha.0 » Source: util/Util.js @@ -15,7 +15,7 @@ @@ -225,7 +225,7 @@ module.exports = Util; diff --git a/docs/webCache_LocalWebCache.js.html b/docs/webCache_LocalWebCache.js.html index 9445e59..ee22706 100644 --- a/docs/webCache_LocalWebCache.js.html +++ b/docs/webCache_LocalWebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: webCache/LocalWebCache.js + whatsapp-web.js 1.31.1-alpha.0 » Source: webCache/LocalWebCache.js @@ -15,7 +15,7 @@ @@ -79,7 +79,7 @@ module.exports = LocalWebCache; diff --git a/docs/webCache_RemoteWebCache.js.html b/docs/webCache_RemoteWebCache.js.html index 45b0e9f..7baf115 100644 --- a/docs/webCache_RemoteWebCache.js.html +++ b/docs/webCache_RemoteWebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: webCache/RemoteWebCache.js + whatsapp-web.js 1.31.1-alpha.0 » Source: webCache/RemoteWebCache.js @@ -15,7 +15,7 @@ @@ -78,7 +78,7 @@ module.exports = RemoteWebCache; diff --git a/docs/webCache_WebCache.js.html b/docs/webCache_WebCache.js.html index f2f6c94..16d4d2e 100644 --- a/docs/webCache_WebCache.js.html +++ b/docs/webCache_WebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.31.0 » Source: webCache/WebCache.js + whatsapp-web.js 1.31.1-alpha.0 » Source: webCache/WebCache.js @@ -15,7 +15,7 @@ @@ -52,7 +52,7 @@ module.exports = {