class
Label
Source: Structures/
WhatsApp Business Label information
Method
new Label(client, labelData)
Parameters
Name | Type | Optional | Description |
---|---|---|---|
client |
|
|
|
labelData |
|
|
Properties
hexColor string
Label hex color
id string
Label ID
name string
Label name
Method
async
getChats() → Promise containing Array of Chat
Get all chats that have been assigned this Label
- Returns
-
Promise containing Array of Chat