wacli-messages-context
Show messages surrounding a specific WhatsApp message (context)
TLDR
Show surrounding context for a message
$ wacli messages context --chat 491234567890@s.whatsapp.net --id ABC123 --json
Control how many messages before and after$ wacli messages context --chat 491234567890@s.whatsapp.net --id ABC123 --before 3 --after 3 --json
Use a different store$ wacli messages context --chat 491234567890@s.whatsapp.net --id ABC123 --json --store ~/.wacli-work
SYNOPSIS
wacli messages context --chat jid --id msgid [--before n] [--after n] [--json] [--store dir_]
DESCRIPTION
wacli messages context returns the target message together with a window of messages immediately before and after it in the same chat. This helps understand conversation flow around a particular message.Default store path is `~/.local/state/wacli` on Linux and `~/.wacli` elsewhere.
PARAMETERS
--chat jid
Chat JID that contains the message.--id msgid_
ID of the central message.--before n
Number of preceding messages to include.--after n
Number of following messages to include.--json
JSON output.--store dir
Alternate store path (default `~/.local/state/wacli` on Linux, `~/.wacli` elsewhere).
SEE ALSO
wacli(1), wacli-messages-show(1), wacli-messages-list(1), wacli-messages-search(1)
