feat: Mention users, get user number from Contact model

This commit is contained in:
Pedro Lopez
2020-02-08 03:19:51 -04:00
parent ef80f966ea
commit 5616613807
5 changed files with 18 additions and 2 deletions

View File

@@ -20,6 +20,12 @@ class Contact extends Base {
*/
this.id = data.id;
/**
* Contact's phone number
* @type {string}
*/
this.number = data.userid;
/**
* Indicates if the contact is a business contact
* @type {boolean}