Optionalids: string | string[]// Your custom list
WPP.chat.setChatList('custom', ['number@c.us', 'number2@c.us']);
// List only with unread chats
WPP.chat.setChatList('unread');
// List only with favorites chats
WPP.chat.setChatList('favorites');
// List only with groups chats
WPP.chat.setChatList('group');
// List only labels chat
WPP.chat.setChatList('labels', '454545_labelId');
Set custom Chat list in panel of whatsapp
For the
customtype, ids are matched against the chat id and also against the equivalent phone number or LID, so bothnumber@c.usandnumber@lidwork no matter how the chat is stored.