diff --git a/docs/structures_Base.js.html b/docs/structures_Base.js.html index 811b34e..83dfd13 100644 --- a/docs/structures_Base.js.html +++ b/docs/structures_Base.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Base.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Base.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Broadcast.js.html b/docs/structures_Broadcast.js.html index d1f7345..52d2c2e 100644 --- a/docs/structures_Broadcast.js.html +++ b/docs/structures_Broadcast.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Broadcast.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Broadcast.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_BusinessContact.js.html b/docs/structures_BusinessContact.js.html index 4f5dbf5..0beb5a7 100644 --- a/docs/structures_BusinessContact.js.html +++ b/docs/structures_BusinessContact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/BusinessContact.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/BusinessContact.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Buttons.js.html b/docs/structures_Buttons.js.html index 3d5c43c..e00b191 100644 --- a/docs/structures_Buttons.js.html +++ b/docs/structures_Buttons.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Buttons.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Buttons.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Call.js.html b/docs/structures_Call.js.html index f44678a..5fb85f5 100644 --- a/docs/structures_Call.js.html +++ b/docs/structures_Call.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Call.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Call.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Channel.js.html b/docs/structures_Channel.js.html index 4337ba6..56b68ca 100644 --- a/docs/structures_Channel.js.html +++ b/docs/structures_Channel.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Channel.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Channel.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Chat.js.html b/docs/structures_Chat.js.html index afc5b3a..6fb7c9b 100644 --- a/docs/structures_Chat.js.html +++ b/docs/structures_Chat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Chat.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Chat.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_ClientInfo.js.html b/docs/structures_ClientInfo.js.html index 350ba63..dedc381 100644 --- a/docs/structures_ClientInfo.js.html +++ b/docs/structures_ClientInfo.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/ClientInfo.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/ClientInfo.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Contact.js.html b/docs/structures_Contact.js.html index fef2ed2..73ef119 100644 --- a/docs/structures_Contact.js.html +++ b/docs/structures_Contact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Contact.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Contact.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_GroupChat.js.html b/docs/structures_GroupChat.js.html index 8577bcc..c14540b 100644 --- a/docs/structures_GroupChat.js.html +++ b/docs/structures_GroupChat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/GroupChat.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/GroupChat.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_GroupNotification.js.html b/docs/structures_GroupNotification.js.html index ba182d3..453f06d 100644 --- a/docs/structures_GroupNotification.js.html +++ b/docs/structures_GroupNotification.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/GroupNotification.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/GroupNotification.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Label.js.html b/docs/structures_Label.js.html index bea3ba4..c283ea0 100644 --- a/docs/structures_Label.js.html +++ b/docs/structures_Label.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Label.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Label.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_List.js.html b/docs/structures_List.js.html index 68ddc03..a5d9909 100644 --- a/docs/structures_List.js.html +++ b/docs/structures_List.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/List.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/List.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Location.js.html b/docs/structures_Location.js.html index c3cbf0e..ebe9df7 100644 --- a/docs/structures_Location.js.html +++ b/docs/structures_Location.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Location.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Location.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html index 8dcbac5..f343873 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Message.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Message.js @@ -15,7 +15,7 @@ @@ -217,26 +217,16 @@ class Message extends Base { toId: typeof data.to === 'object' && '_serialized' in data.to ? data.to._serialized : data.to } : undefined; - /** - * @typedef {Object} Mention - * @property {string} server - * @property {string} user - * @property {string} _serialized - */ - /** * Indicates the mentions in the message body. - * @type {Mention[]} + * @type {string[]} */ this.mentionedIds = data.mentionedJidList || []; /** * @typedef {Object} GroupMention * @property {string} groupSubject The name of the group - * @property {Object} groupJid The group ID - * @property {string} groupJid.server - * @property {string} groupJid.user - * @property {string} groupJid._serialized + * @property {string} groupJid The group ID */ /** diff --git a/docs/structures_MessageMedia.js.html b/docs/structures_MessageMedia.js.html index 699451f..5af9396 100644 --- a/docs/structures_MessageMedia.js.html +++ b/docs/structures_MessageMedia.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/MessageMedia.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/MessageMedia.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Order.js.html b/docs/structures_Order.js.html index 8d2294d..fd3bd22 100644 --- a/docs/structures_Order.js.html +++ b/docs/structures_Order.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Order.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Order.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Payment.js.html b/docs/structures_Payment.js.html index 1d86cc3..22d0be4 100644 --- a/docs/structures_Payment.js.html +++ b/docs/structures_Payment.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Payment.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Payment.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Poll.js.html b/docs/structures_Poll.js.html index d16859c..3afdf94 100644 --- a/docs/structures_Poll.js.html +++ b/docs/structures_Poll.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Poll.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Poll.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_PollVote.js.html b/docs/structures_PollVote.js.html index 9bc93d9..6166ee6 100644 --- a/docs/structures_PollVote.js.html +++ b/docs/structures_PollVote.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/PollVote.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/PollVote.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_PrivateChat.js.html b/docs/structures_PrivateChat.js.html index 83bd462..b2a8b4e 100644 --- a/docs/structures_PrivateChat.js.html +++ b/docs/structures_PrivateChat.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/PrivateChat.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/PrivateChat.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_PrivateContact.js.html b/docs/structures_PrivateContact.js.html index 633196c..920d920 100644 --- a/docs/structures_PrivateContact.js.html +++ b/docs/structures_PrivateContact.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/PrivateContact.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/PrivateContact.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Product.js.html b/docs/structures_Product.js.html index b3effe6..c00fb99 100644 --- a/docs/structures_Product.js.html +++ b/docs/structures_Product.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Product.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Product.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_ProductMetadata.js.html b/docs/structures_ProductMetadata.js.html index 5f8ac8b..134b069 100644 --- a/docs/structures_ProductMetadata.js.html +++ b/docs/structures_ProductMetadata.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/ProductMetadata.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/ProductMetadata.js @@ -15,7 +15,7 @@ diff --git a/docs/structures_Reaction.js.html b/docs/structures_Reaction.js.html index 73d84e8..7abaf8d 100644 --- a/docs/structures_Reaction.js.html +++ b/docs/structures_Reaction.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: structures/Reaction.js + whatsapp-web.js 1.30.1-alpha.0 » Source: structures/Reaction.js @@ -15,7 +15,7 @@ diff --git a/docs/util_Constants.js.html b/docs/util_Constants.js.html index b75965e..e6a7704 100644 --- a/docs/util_Constants.js.html +++ b/docs/util_Constants.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/Constants.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/Constants.js @@ -15,7 +15,7 @@ diff --git a/docs/util_Injected_LegacyStore.js.html b/docs/util_Injected_LegacyStore.js.html index 75b7e92..f84ae74 100644 --- a/docs/util_Injected_LegacyStore.js.html +++ b/docs/util_Injected_LegacyStore.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/Injected/LegacyStore.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/Injected/LegacyStore.js @@ -15,7 +15,7 @@ diff --git a/docs/util_Injected_Store.js.html b/docs/util_Injected_Store.js.html index 52f297b..09d8a69 100644 --- a/docs/util_Injected_Store.js.html +++ b/docs/util_Injected_Store.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/Injected/Store.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/Injected/Store.js @@ -15,7 +15,7 @@ @@ -98,7 +98,6 @@ exports.ExposeStore = () => { window.Store.ContactMethods = window.require('WAWebContactGetters'); window.Store.UserConstructor = window.require('WAWebWid'); window.Store.Validators = window.require('WALinkify'); - window.Store.VCard = window.require('WAWebFrontendVcardUtils'); window.Store.WidFactory = window.require('WAWebWidFactory'); window.Store.ProfilePic = window.require('WAWebContactProfilePicThumbBridge'); window.Store.PresenceUtils = window.require('WAWebPresenceChatAction'); @@ -143,6 +142,11 @@ exports.ExposeStore = () => { window.Store.ForwardUtils = { ...window.require('WAWebForwardMessagesToChat') }; + window.Store.VCard = { + ...window.require('WAWebFrontendVcardUtils'), + ...window.require('WAWebVcardParsingUtils'), + ...window.require('WAWebVcardGetNameFromParsed') + }; window.Store.StickerTools = { ...window.require('WAWebImageUtils'), ...window.require('WAWebAddWebpMetadata') diff --git a/docs/util_InterfaceController.js.html b/docs/util_InterfaceController.js.html index 483bd6f..ab63812 100644 --- a/docs/util_InterfaceController.js.html +++ b/docs/util_InterfaceController.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/InterfaceController.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/InterfaceController.js @@ -15,7 +15,7 @@ diff --git a/docs/util_Puppeteer.js.html b/docs/util_Puppeteer.js.html index 92417d2..0a0af9f 100644 --- a/docs/util_Puppeteer.js.html +++ b/docs/util_Puppeteer.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/Puppeteer.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/Puppeteer.js @@ -15,7 +15,7 @@ diff --git a/docs/util_Util.js.html b/docs/util_Util.js.html index 61e1b3f..f6ab68a 100644 --- a/docs/util_Util.js.html +++ b/docs/util_Util.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: util/Util.js + whatsapp-web.js 1.30.1-alpha.0 » Source: util/Util.js @@ -15,7 +15,7 @@ diff --git a/docs/webCache_LocalWebCache.js.html b/docs/webCache_LocalWebCache.js.html index 4308f5e..664f6db 100644 --- a/docs/webCache_LocalWebCache.js.html +++ b/docs/webCache_LocalWebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: webCache/LocalWebCache.js + whatsapp-web.js 1.30.1-alpha.0 » Source: webCache/LocalWebCache.js @@ -15,7 +15,7 @@ diff --git a/docs/webCache_RemoteWebCache.js.html b/docs/webCache_RemoteWebCache.js.html index a5b8c8d..edc3e48 100644 --- a/docs/webCache_RemoteWebCache.js.html +++ b/docs/webCache_RemoteWebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: webCache/RemoteWebCache.js + whatsapp-web.js 1.30.1-alpha.0 » Source: webCache/RemoteWebCache.js @@ -15,7 +15,7 @@ diff --git a/docs/webCache_WebCache.js.html b/docs/webCache_WebCache.js.html index 2e06e42..3fc3ca4 100644 --- a/docs/webCache_WebCache.js.html +++ b/docs/webCache_WebCache.js.html @@ -4,7 +4,7 @@ - whatsapp-web.js 1.30.0 » Source: webCache/WebCache.js + whatsapp-web.js 1.30.1-alpha.0 » Source: webCache/WebCache.js @@ -15,7 +15,7 @@