Skip to content

"message.chat.isGroup" returns undefined: #3253

@TVARecordings

Description

@TVARecordings

Are you using the latest version of the library?

  • I have checked and am using the latest version of the library.

What type of session are you experiencing this issue on?

Multi-device and I have set multiDevice to true in my config OR am using the --multi-device flag

What type of host account are you experiencing this issue on?

Business account

Mode

My own code

Current Behavior

Returns undefined instead of true of false.

Expected Behavior

Return true or false

Steps To Reproduce

console.log(message.chat.isGroup = ${message.chat.isGroup})

create() code OR full CLI command + CONFIG

No response

DEBUG INFO

{
  "WA_VERSION": "2.3000.1018311685",
  "WA_AUTOMATE_VERSION": "4.74.0 UPDATE AVAILABLE: 4.74.1",
  "BROWSER_VERSION": "Chrome/131.0.6778.70",
  "START_TS": 1732010555491,
  "RAM_INFO": "Total: 68.62 GB | Free: 45.27 GB",
  "PPTR_VERSION": "23.6.0",
  "LATEST_VERSION": false,
  "CLI": false,
  "PATCH_HASH": "CACHED-3aa89",
  "LAUNCH_TIME_MS": 6450,
  "ACC_TYPE": "BUSINESS",
  "chats": 80,
  "messages": 148,
  "contacts": 13195,
  "isBiz": true,
  "isMd": true,
  "INSTANCE_ID": "8eeeeb49-0fe7-4f0f-a658-261073b0eee4"
}

Environment

- OS: Windows 10
- Node: 20.17.0
- npm: 10.8.3

Screenshots/Logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions