refactor: clean interactive message logs

refactor: clean interactive message logs
This commit is contained in:
Renato Alcara
2026-02-21 02:06:36 -03:00
committed by GitHub
parent 16a0d5b163
commit 89fd500f86
6 changed files with 41 additions and 81 deletions
+1 -3
View File
@@ -281,9 +281,7 @@ export type WASendableProduct = Omit<proto.Message.ProductMessage.IProductSnapsh
productImage: WAMediaUpload
}
// ⚠️ EXPERIMENTAL: Interactive message types
// These features may not work and can cause account bans
// Use only for testing with disposable accounts
// Interactive message types
export type ButtonInfo = {
buttonId: string
+3 -18
View File
@@ -135,24 +135,9 @@ export type SocketConfig = {
enableCTWARecovery: boolean
/**
* ⚠️ EXPERIMENTAL: Enable interactive messages (buttons, lists, templates, carousel).
*
* **WARNING**: These features MAY NOT WORK and can cause ACCOUNT BANS.
*
* WhatsApp actively blocks non-business accounts from sending interactive messages.
* Using this feature can result in:
* - Messages not being delivered
* - Temporary account restrictions
* - Permanent account bans
*
* Use ONLY for:
* - Testing in DEV environment
* - DISPOSABLE test accounts
* - Experimental research
*
* @default true (for dev/testing)
* @see https://github.com/WhiskeySockets/Baileys/issues/56
* @see https://github.com/WhiskeySockets/Baileys/issues/25
* Enable interactive messages (buttons, lists, templates, carousel).
* When true, injects biz/bot binary nodes required by WhatsApp.
* @default true
*/
enableInteractiveMessages: boolean