Added Contact Model (#34)

This commit is contained in:
Aliyss Snow 2020-02-03 00:08:36 +01:00 • committed by GitHub
commit e2351db722
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,18 @@
'use strict';
const Contact = require('./Contact');
/**
* Represents a Business Contact on WhatsApp
* @extends {Contact}
*/
class BusinessContact extends Contact {
_patch(data) {
this.businessProfile = data.businessProfile;
return super._patch(data);
}
}
module.exports = BusinessContact;