From 7e3d8291b2e8fc72d7892a7d18ded96118db7756 Mon Sep 17 00:00:00 2001 From: allburov Date: Thu, 1 Aug 2024 10:10:26 +0700 Subject: [PATCH] Add Label.colorIndex --- src/structures/Label.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/structures/Label.js b/src/structures/Label.js index 0a06754c4e..a0ccb4c28b 100644 --- a/src/structures/Label.js +++ b/src/structures/Label.js @@ -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