Skip to content

Commit

Permalink
Add Label.colorIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
allburov committed Aug 1, 2024
1 parent ed4e24c commit 7e3d829
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/structures/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ class Label extends Base {
* @type {string}
*/
this.hexColor = labelData.hexColor;

/**
* Label color index
* @type {number}
*/
this.colorIndex = labelData.colorIndex;
}
/**
* Get all chats that have been assigned this Label
Expand Down

0 comments on commit 7e3d829

Please sign in to comment.