chats
Read when: listing known chats or resolving one chat from the local store.
wacli chats reads chat rows from wacli.db. It can use session-backed PN/LID mappings to make historical @lid chat rows display as phone-number chats when possible.
#Commands
wacli chats list [--query TEXT] [--limit N]
wacli chats show --jid JID
#Notes
listis local and sorted by newest known message timestamp.--queryfilters by chat name or JID.showaccepts the stored JID. If a phone JID maps to a historical@lidrow, it can show that row too.- Run
wacli syncorwacli contacts refreshto improve chat names.
#Examples
wacli chats list
wacli chats list --query family --limit 20
wacli chats show --jid 1234567890@s.whatsapp.net