Class: Label

Label(client, labelData)

WhatsApp Business Label information

Constructor

new Label(client, labelData)

Parameters:
Name Type Description
client Base
labelData object
Source:

Members

hexColor :string

Label hex color

Type:
  • string
Source:

id :string

Label ID

Type:
  • string
Source:

name :string

Label name

Type:
  • string
Source:

Methods

(async) getChats() → {Promise.<Array.<Chat>>}

Get all chats that have been assigned this Label

Source:
Returns:
Type
Promise.<Array.<Chat>>