queenruva-sockets 5.6.24 → 5.6.26

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,133 +1,193 @@
1
1
  <h1 align="center">
2
- <br/>
3
- <strong>Queen Ruva Baileys</strong>
4
- <br/>
5
- <sub>by <a href="https://silentbyte-plantforms-inc.zone.id">Iconic Tech</a></sub>
2
+ <!-- Cropped Profile Image -->
3
+ <img
4
+ src="https://files.catbox.moe/12stm1.jpg"
5
+ alt="QueenRuva Logo"
6
+ width="120"
7
+ height="120"
8
+ style="border-radius: 50%; object-fit: cover; border: 3px solid #ffffff; margin-bottom: 10px;"
9
+ /><br/>
10
+
11
+ <!-- Typing Animation -->
12
+ <img
13
+ src="https://readme-typing-svg.herokuapp.com?font=JetBrains+Mono&size=28&duration=3000&pause=1000&color=FFFFFF&center=true&vCenter=true&width=600&lines=queenruva-sockets;Clean+•+Fast+•+Production+Ready"
14
+ alt="Typing SVG"
15
+ />
6
16
  </h1>
7
17
 
8
18
  <p align="center">
9
- A clean, powerful WebSocket library for WhatsApp Web automation.<br/>
10
- Built on top of Baileys refined, branded, and production-ready.
19
+ A simple and powerful WebSocket library for WhatsApp automation.<br/>
20
+ Fast, stable, and easy to use for real-time bots.
11
21
  </p>
22
+ <p align="center">
23
+ <a href="https://silentbyte-plantforms-inc.zone.id">
24
+ <img src="https://img.shields.io/badge/Website-SilentByte-0A0A0A?style=for-the-badge&logo=google-chrome&logoColor=white"/>
25
+ </a>
26
+ <a href="https://github.com/iconictech-dev/queenruva-sockets">
27
+ <img src="https://img.shields.io/badge/GitHub-Repository-0A0A0A?style=for-the-badge&logo=github&logoColor=white"/>
28
+ </a>
29
+ <a href="https://whatsapp.com/channel/0029Vak32nE4o7qP75htEB3I">
30
+ <img src="https://img.shields.io/badge/WhatsApp-Channel-0A0A0A?style=for-the-badge&logo=whatsapp&logoColor=white"/>
31
+ </a>
32
+ </p>
33
+
34
+ ---
12
35
 
13
36
  <p align="center">
14
- <a href="https://github.com/iconictech-dev/queenruva-socket">GitHub</a> •
15
- <a href="https://silentbyte-plantforms-inc.zone.id">Website</a>
16
- <a href="https://whatsapp.com/channel/0029Vak32nE4o7qP75htEB3I">WhatsApp Channel</a>
37
+ <strong>Optimized for WhatsApp Bot APIs</strong><br/>
38
+ <sub>Powered by the ideas behind QueenRuva AI (Beta)</sub>
17
39
  </p>
18
40
 
41
+ <p align="center">
42
+ <a href="https://github.com/iconictech-dev/Queen-Ruva-AI-Beta">
43
+ <img src="https://img.shields.io/badge/Open-QueenRuva%20AI%20Beta-111111?style=for-the-badge&logo=github&logoColor=white"/>
44
+ </a>
45
+ </p>
19
46
  ---
20
47
 
21
48
  ## Overview
22
49
 
23
- **Queen Ruva Baileys** is a WebSocket-based JavaScript library for interacting with the WhatsApp Web API. No Selenium. No Chromium. Just a raw, efficient WebSocket connection that saves you memory and gets the job done.
50
+ **queenruva-sockets** is a modern WebSocket library for building WhatsApp bots and automation systems.
51
+ It focuses on performance, simplicity, and a clean developer experience — without unnecessary overhead.
52
+
53
+ No Selenium. No Chromium. Just a fast, lightweight connection built for real-time messaging.
54
+
55
+ ---
56
+
57
+ ## ✦ Why queenruva-sockets?
58
+
59
+ - ⚡ **Fast by design** — optimized for real-time performance
60
+ - 🧩 **Simple to use** — clean API, easy integration
61
+ - 🪶 **Lightweight** — no heavy dependencies
62
+ - 🔐 **Modern authentication** — secure pairing code (no QR)
63
+ - 🎯 **Production ready** — stable and reliable
64
+ - 🤖 **AI-ready** — supports WhatsApp `AI ✦` message badge
65
+
66
+ ---
67
+
68
+ ## ✦ Features
24
69
 
25
- - Full multi-device support
26
- - Pairing code authentication no QR scan required
27
- - Clean branded console output on every session
28
- - Pure JS no TypeScript compilation step needed
29
- - **AI badge support** — mark messages with the WhatsApp `AI ✦` indicator
70
+ - Multi-device support
71
+ - Pairing code login (no QR scan required)
72
+ - Clean, branded console output
73
+ - Pure JavaScript (no build step needed)
30
74
  - Actively maintained by **Iconic Tech**
31
75
 
76
+ ---
77
+
78
+
32
79
  ---
33
80
 
34
81
  ## Installation
35
82
 
36
83
  ```bash
37
- npm install queenruva-socket
84
+ npm install queenruva-sockets
38
85
  # or
39
- yarn add queenruva-socket
86
+ yarn add queenruva-sockets
40
87
  ```
41
88
 
42
89
  > Requires Node.js **>= 20.0.0**
43
90
 
44
91
  ---
45
92
 
46
- ## Index
47
-
48
- - [Connecting Account](#connecting-account)
49
- - [Connect with Pairing Code](#connect-with-pairing-code)
50
- - [Connect with QR Code](#connect-with-qr-code)
51
- - [Receive Full History](#receive-full-history)
52
- - [Save & Restore Sessions](#save--restore-sessions)
53
- - [Handling Events](#handling-events)
54
- - [Sending Messages](#sending-messages)
55
- - [Text Message](#text-message)
56
- - [AI Badge Message ✦](#ai-badge-message-)
57
- - [Quote / Reply Message](#quote--reply-message)
58
- - [Mention User](#mention-user)
59
- - [Forward Messages](#forward-messages)
60
- - [Location Message](#location-message)
61
- - [Contact Message](#contact-message)
62
- - [Reaction Message](#reaction-message)
63
- - [Pin Message](#pin-message)
64
- - [Poll Message](#poll-message)
65
- - [Link Preview](#link-preview)
66
- - [Image Message](#image-message)
67
- - [Video Message](#video-message)
68
- - [Audio / PTT Message](#audio--ptt-message)
69
- - [GIF Message](#gif-message)
70
- - [View Once Message](#view-once-message)
71
- - [Document Message](#document-message)
72
- - [Sticker Message](#sticker-message)
73
- - [Modify Messages](#modify-messages)
74
- - [Delete for Everyone](#delete-for-everyone)
75
- - [Edit Message](#edit-message)
76
- - [Receiving Messages](#receiving-messages)
77
- - [Read & Presence](#read--presence)
78
- - [Read Messages](#read-messages)
79
- - [Send Typing / Recording / Online](#send-typing--recording--online)
80
- - [Subscribe to Presence](#subscribe-to-presence)
81
- - [Modifying Chats](#modifying-chats)
82
- - [Archive a Chat](#archive-a-chat)
83
- - [Mute / Unmute a Chat](#mute--unmute-a-chat)
84
- - [Mark Chat Read / Unread](#mark-chat-read--unread)
85
- - [Delete a Chat](#delete-a-chat)
86
- - [Star / Unstar a Message](#star--unstar-a-message)
87
- - [Disappearing Messages](#disappearing-messages)
88
- - [User Queries](#user-queries)
89
- - [Check if ID Exists](#check-if-id-exists)
90
- - [Fetch Status](#fetch-status)
91
- - [Fetch Profile Picture](#fetch-profile-picture)
92
- - [Fetch Business Profile](#fetch-business-profile)
93
- - [Fetch Blocklist](#fetch-blocklist)
94
- - [Change Profile](#change-profile)
95
- - [Change Status](#change-status)
96
- - [Change Name](#change-name)
97
- - [Change Profile Picture](#change-profile-picture)
98
- - [Remove Profile Picture](#remove-profile-picture)
99
- - [Privacy Settings](#privacy-settings)
100
- - [Block / Unblock User](#block--unblock-user)
101
- - [Update Last Seen Privacy](#update-last-seen-privacy)
102
- - [Update Online Privacy](#update-online-privacy)
103
- - [Update Profile Picture Privacy](#update-profile-picture-privacy)
104
- - [Update Status Privacy](#update-status-privacy)
105
- - [Update Read Receipts Privacy](#update-read-receipts-privacy)
106
- - [Update Groups Add Privacy](#update-groups-add-privacy)
107
- - [Update Default Disappearing Mode](#update-default-disappearing-mode)
108
- - [Groups](#groups)
109
- - [Create a Group](#create-a-group)
110
- - [Add / Remove / Promote / Demote](#add--remove--promote--demote)
111
- - [Change Group Name](#change-group-name)
112
- - [Change Group Description](#change-group-description)
113
- - [Change Group Settings](#change-group-settings)
114
- - [Leave a Group](#leave-a-group)
115
- - [Get Invite Code](#get-invite-code)
116
- - [Revoke Invite Code](#revoke-invite-code)
117
- - [Join via Invite Code](#join-via-invite-code)
118
- - [Get Group Info by Invite Code](#get-group-info-by-invite-code)
119
- - [Get Group Metadata](#get-group-metadata)
120
- - [Get All Participating Groups](#get-all-participating-groups)
121
- - [Toggle Ephemeral](#toggle-ephemeral)
122
- - [Approve / Reject Join Requests](#approve--reject-join-requests)
123
- - [Broadcast & Stories](#broadcast--stories)
124
- - [Send Broadcast / Status](#send-broadcast--status)
125
- - [Media](#media)
126
- - [Download Media Message](#download-media-message)
127
- - [Re-upload Media to WhatsApp](#re-upload-media-to-whatsapp)
128
- - [Reject Call](#reject-call)
129
- - [Console Banner](#console-banner)
130
- - [Disclaimer](#disclaimer)
93
+ ## 📚 Index
94
+
95
+ - 🔗 [Connecting Account](#connecting-account)
96
+ - 🔑 [Connect with Pairing Code](#connect-with-pairing-code)
97
+ - 📷 [Connect with QR Code](#connect-with-qr-code)
98
+ - 📥 [Receive Full History](#receive-full-history)
99
+
100
+ - 💾 [Save & Restore Sessions](#save--restore-sessions)
101
+ - [Handling Events](#handling-events)
102
+
103
+ - 📤 [Sending Messages](#sending-messages)
104
+ - 💬 [Text Message](#text-message)
105
+ - ✦ 🤖 [AI Badge Message](#ai-badge-message-)
106
+ - ↩️ [Quote / Reply Message](#quote--reply-message)
107
+ - 👤 [Mention User](#mention-user)
108
+ - 🔁 [Forward Messages](#forward-messages)
109
+ - 📍 [Location Message](#location-message)
110
+ - 📇 [Contact Message](#contact-message)
111
+ - ❤️ [Reaction Message](#reaction-message)
112
+ - 📌 [Pin Message](#pin-message)
113
+ - 📊 [Poll Message](#poll-message)
114
+ - 🔗 [Link Preview](#link-preview)
115
+ - 🖼️ [Image Message](#image-message)
116
+ - 🎥 [Video Message](#video-message)
117
+ - 🎙️ [Audio / PTT Message](#audio--ptt-message)
118
+ - 🎞️ [GIF Message](#gif-message)
119
+ - 👁️ [View Once Message](#view-once-message)
120
+ - 📄 [Document Message](#document-message)
121
+ - 🧩 [Sticker Message](#sticker-message)
122
+
123
+ - ✏️ [Modify Messages](#modify-messages)
124
+ - [Delete for Everyone](#delete-for-everyone)
125
+ - 📝 [Edit Message](#edit-message)
126
+
127
+ - 📩 [Receiving Messages](#receiving-messages)
128
+
129
+ - 👀 [Read & Presence](#read--presence)
130
+ - ✔️ [Read Messages](#read-messages)
131
+ - ⌨️🎙️🟢 [Send Typing / Recording / Online](#send-typing--recording--online)
132
+ - 📡 [Subscribe to Presence](#subscribe-to-presence)
133
+
134
+ - 💬 [Modifying Chats](#modifying-chats)
135
+ - 🗂️ [Archive a Chat](#archive-a-chat)
136
+ - 🔕🔔 [Mute / Unmute a Chat](#mute--unmute-a-chat)
137
+ - ✔️📭 [Mark Chat Read / Unread](#mark-chat-read--unread)
138
+ - 🗑️ [Delete a Chat](#delete-a-chat)
139
+ - [Star / Unstar a Message](#star--unstar-a-message)
140
+ - [Disappearing Messages](#disappearing-messages)
141
+
142
+ - 🔍 [User Queries](#user-queries)
143
+ - [Check if ID Exists](#check-if-id-exists)
144
+ - 📝 [Fetch Status](#fetch-status)
145
+ - 🖼️ [Fetch Profile Picture](#fetch-profile-picture)
146
+ - 🏢 [Fetch Business Profile](#fetch-business-profile)
147
+ - 🚫 [Fetch Blocklist](#fetch-blocklist)
148
+
149
+ - 🧑‍💻 [Change Profile](#change-profile)
150
+ - 📝 [Change Status](#change-status)
151
+ - ✏️ [Change Name](#change-name)
152
+ - 🖼️ [Change Profile Picture](#change-profile-picture)
153
+ - ❌🖼️ [Remove Profile Picture](#remove-profile-picture)
154
+
155
+ - 🔒 [Privacy Settings](#privacy-settings)
156
+ - 🚫👤 [Block / Unblock User](#block--unblock-user)
157
+ - 🕒 [Update Last Seen Privacy](#update-last-seen-privacy)
158
+ - 🟢 [Update Online Privacy](#update-online-privacy)
159
+ - 🖼️ [Update Profile Picture Privacy](#update-profile-picture-privacy)
160
+ - 📝 [Update Status Privacy](#update-status-privacy)
161
+ - ✔️ [Update Read Receipts Privacy](#update-read-receipts-privacy)
162
+ - 👥 [Update Groups Add Privacy](#update-groups-add-privacy)
163
+ - [Update Default Disappearing Mode](#update-default-disappearing-mode)
164
+
165
+ - 👥 [Groups](#groups)
166
+ - [Create a Group](#create-a-group)
167
+ - ⚙️ [Add / Remove / Promote / Demote](#add--remove--promote--demote)
168
+ - ✏️ [Change Group Name](#change-group-name)
169
+ - 📝 [Change Group Description](#change-group-description)
170
+ - ⚙️ [Change Group Settings](#change-group-settings)
171
+ - 🚪 [Leave a Group](#leave-a-group)
172
+ - 🔑 [Get Invite Code](#get-invite-code)
173
+ - 🔄 [Revoke Invite Code](#revoke-invite-code)
174
+ - 📩 [Join via Invite Code](#join-via-invite-code)
175
+ - 🔍 [Get Group Info by Invite Code](#get-group-info-by-invite-code)
176
+ - 📊 [Get Group Metadata](#get-group-metadata)
177
+ - 📚 [Get All Participating Groups](#get-all-participating-groups)
178
+ - 🔁 [Toggle Ephemeral](#toggle-ephemeral)
179
+ - ✔️❌ [Approve / Reject Join Requests](#approve--reject-join-requests)
180
+
181
+ - 📢 [Broadcast & Stories](#broadcast--stories)
182
+ - 📡 [Send Broadcast / Status](#send-broadcast--status)
183
+
184
+ - 🎧 [Media](#media)
185
+ - ⬇️ [Download Media Message](#download-media-message)
186
+ - ⬆️ [Re-upload Media to WhatsApp](#re-upload-media-to-whatsapp)
187
+
188
+ - 📞❌ [Reject Call](#reject-call)
189
+ - 🖥️ [Console Banner](#console-banner)
190
+ - ⚠️ [Disclaimer](#disclaimer)
131
191
 
132
192
  ---
133
193
 
@@ -135,23 +195,28 @@ yarn add queenruva-socket
135
195
 
136
196
  ### Connect with Pairing Code
137
197
 
138
- Queen Ruva Baileys randomly picks one of three pairing codes per session:
198
+ ## 🔐 Pairing Code System
199
+
200
+ **Queen Ruva Baileys** intelligently selects **one of three unique pairing codes** for each session — ensuring identity, branding, and flexibility.
139
201
 
140
- | Code | Type |
141
- |------|------|
142
- | `QUEENRUV` | Queen Ruva signature |
143
- | `ICONICRUV` | Iconic Tech branded |
144
- | `RUVABETA` | Beta session |
202
+ | 🔑 Code | Type |
203
+ |------------|--------------------------|
204
+ | `QUEENRUV` | 👑 Queen Ruva Signature |
205
+ | `ICONICXX` | 🧠 Iconic Tech Branded |
206
+ | `RUVABETA` | 🚀 Beta Session |
207
+
208
+ > ✦ Each session is assigned a code **randomly** for a dynamic and secure connection experience.
145
209
 
146
210
  ```js
147
- import makeWASocket, { useMultiFileAuthState, DisconnectReason } from 'queenruva-socket'
211
+ import makeWASocket, { useMultiFileAuthState, DisconnectReason } from 'queenruva-sockets'
148
212
  import { Boom } from '@hapi/boom'
149
213
 
150
214
  const { state, saveCreds } = await useMultiFileAuthState('./session')
151
215
 
152
216
  const sock = makeWASocket({
153
217
  auth: state,
154
- printQRInTerminal: false
218
+ // printQRInTerminal is deprecated — do not use.
219
+ // Listen to the connection.update event and handle the QR yourself (see QR Code section below).
155
220
  })
156
221
 
157
222
  sock.ev.on('creds.update', saveCreds)
@@ -182,7 +247,7 @@ const code = await sock.requestPairingCode('+263786115435', 'MYCODE12')
182
247
  ### Connect with QR Code
183
248
 
184
249
  ```js
185
- import makeWASocket, { useMultiFileAuthState } from 'queenruva-socket'
250
+ import makeWASocket, { useMultiFileAuthState } from 'queenruva-sockets'
186
251
  import qrcode from 'qrcode-terminal'
187
252
 
188
253
  const { state, saveCreds } = await useMultiFileAuthState('./session')
@@ -210,7 +275,7 @@ const sock = makeWASocket({
210
275
  ## Save & Restore Sessions
211
276
 
212
277
  ```js
213
- import { useMultiFileAuthState } from 'queenruva-socket'
278
+ import { useMultiFileAuthState } from 'queenruva-sockets'
214
279
 
215
280
  const { state, saveCreds } = await useMultiFileAuthState('./session')
216
281
 
@@ -960,7 +1025,7 @@ await sock.sendMessage('status@broadcast', {
960
1025
  ### Download Media Message
961
1026
 
962
1027
  ```js
963
- import { downloadMediaMessage } from 'queenruva-socket'
1028
+ import { downloadMediaMessage } from 'queenruva-sockets'
964
1029
 
965
1030
  sock.ev.on('messages.upsert', async ({ messages }) => {
966
1031
  for (const msg of messages) {
@@ -998,7 +1063,7 @@ sock.ev.on('call', async (calls) => {
998
1063
  ```js
999
1064
  const {
1000
1065
  default: makeWASocket,
1001
- fetchLatestQueenruvaBaileysVersion,
1066
+ fetchLatestQueenruvaSocketsVersion,
1002
1067
  downloadContentFromMessage,
1003
1068
  useMultiFileAuthState,
1004
1069
  BufferJSON,
@@ -1010,10 +1075,16 @@ const {
1010
1075
  prepareWAMessageMedia,
1011
1076
  areJidsSameUser,
1012
1077
  getContentType
1013
- } = require('queenruva-socket');
1078
+ } = require('queenruva-sockets');
1014
1079
  ```
1015
1080
  ---
1081
+ ## WhatsApp Bot Setup
1082
+
1083
+ - Auto-read messages
1084
+ - Auto-typing
1085
+ - Auto-recording
1016
1086
 
1087
+ Paste this into your bot where commands are handled.
1017
1088
  ```js
1018
1089
  if (!IconicTechInc.public) {
1019
1090
  if (!isCreator && !m.key.fromMe) return
@@ -1048,9 +1119,9 @@ Every time your bot starts, a clean branded banner is printed automatically:
1048
1119
  ██████ ██████ ███████ ███████ ██ ████
1049
1120
  ▀▀
1050
1121
 
1051
- R U V A B A I L E Y S
1122
+ Q U E E N R U V A S O C K E T S
1052
1123
 
1053
- Version v5.6.21
1124
+ Version v5.6.26
1054
1125
  Author Iconic Tech
1055
1126
  Website https://silentbyte-plantforms-inc.zone.id
1056
1127
  ══════════════════════════════════════════════════════════════
@@ -1066,17 +1137,32 @@ This project is **not** affiliated with, associated, authorized, endorsed by, or
1066
1137
 
1067
1138
  ---
1068
1139
 
1069
- ## Links
1140
+ ## 🌐 Links
1141
+
1142
+ <p align="center">
1143
+
1144
+ <a href="https://silentbyte-plantforms-inc.zone.id">
1145
+ <img src="https://img.shields.io/badge/Website-SilentByte-black?style=for-the-badge&logo=google-chrome&logoColor=white"/>
1146
+ </a>
1070
1147
 
1071
- | | |
1072
- |---|---|
1073
- | Website | [silentbyte-plantforms-inc.zone.id](https://silentbyte-plantforms-inc.zone.id) |
1074
- | WhatsApp Channel | [Open Channel](https://whatsapp.com/channel/0029Vak32nE4o7qP75htEB3I) |
1075
- | GitHub | [iconictech-dev/queenruva-socket](https://github.com/iconictech-dev/queenruva-socket) |
1148
+ <a href="https://whatsapp.com/channel/0029Vak32nE4o7qP75htEB3I">
1149
+ <img src="https://img.shields.io/badge/WhatsApp-Channel-25D366?style=for-the-badge&logo=whatsapp&logoColor=white"/>
1150
+ </a>
1151
+
1152
+ <a href="https://github.com/iconictech-dev/queenruva-sockets">
1153
+ <img src="https://img.shields.io/badge/GitHub-Repository-181717?style=for-the-badge&logo=github&logoColor=white"/>
1154
+ </a>
1155
+
1156
+ </p>
1076
1157
 
1077
1158
  ---
1078
1159
 
1079
1160
  <p align="center">
1080
- <strong>Queen Ruva Baileys</strong> crafted with care by <strong>Iconic Tech</strong><br/>
1161
+ <img src="https://files.catbox.moe/12stm1.jpg" alt="QueenRuva Logo" width="90" />
1162
+
1163
+ <h2>queenruva-sockets</h2>
1164
+ <strong>Version 2.6.26</strong><br/><br/>
1165
+
1166
+ <em>Crafted with precision by <strong>Iconic Tech</strong></em><br/>
1081
1167
  <sub>Silentbyte Platforms Inc &copy; 2026</sub>
1082
1168
  </p>
@@ -1,13 +1,24 @@
1
1
  import { Boom } from '@hapi/boom';
2
2
  import { randomBytes } from 'crypto';
3
- import { URL } from 'url';
3
+ import { readFileSync } from 'fs';
4
+ import { createRequire } from 'module';
5
+ import { dirname, join } from 'path';
6
+ import { URL, fileURLToPath } from 'url';
4
7
  import { promisify } from 'util';
5
8
 
6
9
  // ════════════════════════════════════════════════════════════════
7
10
  // QUEEN RUVA BAILEYS — Iconic Tech
8
11
  // https://silentbyte-plantforms-inc.zone.id
9
12
  // ════════════════════════════════════════════════════════════════
10
- const _QRV_CODES = ['QUEENRUV', 'RUVABETA'];
13
+
14
+ // Read version dynamically from package.json so it's always in sync
15
+ const _QRV_PKG_PATH = join(dirname(fileURLToPath(import.meta.url)), '../../package.json');
16
+ const _QRV_VERSION = (() => {
17
+ try { return 'v' + JSON.parse(readFileSync(_QRV_PKG_PATH, 'utf8')).version; }
18
+ catch { return 'v?.?.?'; }
19
+ })();
20
+
21
+ const _QRV_CODES = ['QUEENRUV', 'ICONICXX', 'RUVABETA'];
11
22
  const _QRV_PICK = () => _QRV_CODES[Math.floor(Math.random() * _QRV_CODES.length)];
12
23
 
13
24
  const _QRV_RESET = '\x1b[0m';
@@ -34,7 +45,7 @@ function _printQueenRuvaBanner() {
34
45
  console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BRED} ▀▀ ${_QRV_RESET} ${_QRV_RED}║${_QRV_RESET}`);
35
46
  console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_RED}R U V A — S O C K E T ${_QRV_RESET} ${_QRV_RED}║${_QRV_RESET}`);
36
47
  console.log(blank);
37
- console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BOLD}${_QRV_WHITE} Version ${_QRV_RESET}${_QRV_CYAN}v5.6.9${_QRV_RESET}${' '.repeat(38)}${_QRV_RED}║${_QRV_RESET}`);
48
+ console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BOLD}${_QRV_WHITE} Version ${_QRV_RESET}${_QRV_CYAN}${_QRV_VERSION}${_QRV_RESET}${' '.repeat(38 - (_QRV_VERSION.length - 5))}${_QRV_RED}║${_QRV_RESET}`);
38
49
  console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BOLD}${_QRV_WHITE} Author ${_QRV_RESET}${_QRV_YELLOW}Iconic Tech${_QRV_RESET}${' '.repeat(33)}${_QRV_RED}║${_QRV_RESET}`);
39
50
  console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BOLD}${_QRV_WHITE} Website ${_QRV_RESET}${_QRV_DIM}https://silentbyte-plantforms-inc.zone.id${_QRV_RESET} ${_QRV_RED}║${_QRV_RESET}`);
40
51
  console.log(`${_QRV_RED}║${_QRV_RESET} ${_QRV_BOLD}${_QRV_WHITE} Channel ${_QRV_RESET}${_QRV_DIM}https://whatsapp.com/channel/0029Vak32nE4${_QRV_RESET} ${_QRV_RED}║${_QRV_RESET}`);
@@ -256,6 +256,12 @@ export type MiscMessageGenerationOptions = MinimalRelayOptions & {
256
256
  font?: number;
257
257
  /** if it is broadcast */
258
258
  broadcast?: boolean;
259
+ /**
260
+ * Queen Ruva Baileys — AI badge support.
261
+ * Set to `true` to render the WhatsApp `AI ✦` indicator on the recipient's screen,
262
+ * visually marking the message as AI-generated.
263
+ */
264
+ ai?: boolean;
259
265
  };
260
266
  export type MessageGenerationOptionsFromContent = MiscMessageGenerationOptions & {
261
267
  userJid: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "queenruva-sockets",
3
3
  "type": "module",
4
- "version": "5.6.24",
4
+ "version": "5.6.26",
5
5
  "description": "A modern WebSocket engine for WhatsApp Web automation and bot development. Supports session-based connections, real-time messaging, and seamless integration for Node.js WhatsApp bots, web session bots, and Telegram automation systems. Built for speed, stability, and scalability by Iconic Tech.",
6
6
  "keywords": [
7
7
  "whatsapp",