This description will show the fields of chat object.
number of instance like instance_whatsapp.istance_number
unix timestamp in seconds like message.time ; is the time of the last message received or sent in this chat
the number of the last message received or sent in this chat; like message.messageNumber
the _id of the last message received or sent in this chat; like message._id
number of message unread
id of the chat. Example: firstname.lastname@example.org
name of the chat.
HTTPS link on avatar or group image.
Object whit with the following fields: - isGroup: boolean, if true the chat is a group - partecipants: array, it the chat is a group so the array contains the chatId (like chat.chatId) of the partecipants - groupInviteLink: string, link for group invitation