Could anyone explain how to use this for whatsapp chat ? my output always this
Cannot infer own-name from less than {min_conversations} conversations. Please provide your username manually with the --own-name argument.')
Exception: Cannot infer own-name from less than 2 conversations. Please provide your username manually with the --own-name argument.
The problem is that Chatistics needs to establish who you are ("you" as in "the person whose chat logs were exported") before it can parse anything.
This is because for fields such as `conversationWithName`, it needs to know which of the parties is "you" vs who is an interlocutor.
In general, this is easy enough to figure out: look at multiple conversations, and find out who is always part of them. However if you export a single discussion, then this can't be inferred!
In that situation as eecom pointed out (and as indicated by the script output) you need to specify your username using the `--own-name` argument, using the precise same name that appears in your WhatsApp account.