When I call client.getChats() in my wwebjs app I obtain the result like this
PrivateChat {
id: {
server: 'g.us',
user: '120363245...',
_serialized: '[email protected]'
},
name: 'Blu...',
isGroup: undefined, // that's the fatal line
isReadOnly: false,
unreadCount: 0,
timestamp: 1733520173,
archived: false,
As you can see isGroup is undefined and the attributes, such as participants, of this chat which is group chat are not available.
Does anyone have any resolution to this issue?
Thx)
I extracted chats and the group chats are not populated with the data about its participants.
1