From edbf4139e7b348d22e042499904d5c15bec234d8 Mon Sep 17 00:00:00 2001 From: Pedro Lopez Date: Thu, 5 Nov 2020 02:09:32 -0400 Subject: [PATCH] chore: mark version v1.11.0 (again) PR had to be merged and added to the release --- docs/Message.html | 8 ++++++++ docs/index.html | 5 +++++ docs/structures_Message.js.html | 6 ++++++ 3 files changed, 19 insertions(+) diff --git a/docs/Message.html b/docs/Message.html index 7dffecd..1a91ee8 100644 --- a/docs/Message.html +++ b/docs/Message.html @@ -98,6 +98,9 @@
type
+
vCards
+
+
@@ -241,6 +244,11 @@

Message type

+

vCards +  Array of string

+

List of vCards contained in the message.

+
+

Methods

diff --git a/docs/index.html b/docs/index.html index 18f6ce5..851e808 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1606,6 +1606,11 @@ client.initialize();
+
+ Message#vCards +
+
+
diff --git a/docs/structures_Message.js.html b/docs/structures_Message.js.html index 8a48185..599a185 100644 --- a/docs/structures_Message.js.html +++ b/docs/structures_Message.js.html @@ -148,6 +148,12 @@ class Message extends Base { */ this.location = data.type === MessageTypes.LOCATION ? new Location(data.lat, data.lng, data.loc) : undefined; + /** + * List of vCards contained in the message. + * @type {Array<string>} + */ + this.vCards = data.type === MessageTypes.CONTACT_CARD_MULTI ? data.vcardList.map((c) => c.vcard) : data.type === MessageTypes.CONTACT_CARD ? [data.body] : []; + /** * Indicates the mentions in the message body. * @type {Array<string>}