mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
21 lines
386 B
JavaScript
21 lines
386 B
JavaScript
'use strict';
|
|
|
|
const Contact = require('./Contact');
|
|
|
|
/**
|
|
* Represents a Business Contact on WhatsApp
|
|
* @extends {Contact}
|
|
*/
|
|
class BusinessContact extends Contact {
|
|
_patch(data) {
|
|
/**
|
|
* The contact's business profile
|
|
*/
|
|
this.businessProfile = data.businessProfile;
|
|
|
|
return super._patch(data);
|
|
}
|
|
|
|
}
|
|
|
|
module.exports = BusinessContact; |