chore: mark version v1.11.0 (again)

PR had to be merged and added to the release
This commit is contained in:
Pedro Lopez
2020-11-05 02:09:32 -04:00
parent 709c43cc9f
commit edbf4139e7
3 changed files with 19 additions and 0 deletions

View File

@@ -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>}