BrunoZell.WhatsAppParser 1.0.1

WhatsApp Chat History Parser

Parses exported chat histories from WhatsApp chat client.

Install-Package BrunoZell.WhatsAppParser -Version 1.0.1
dotnet add package BrunoZell.WhatsAppParser --version 1.0.1
paket add BrunoZell.WhatsAppParser --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

WhatspApp chat history parser

A light-weight C# library that parses exported chat histories from WhatsApp.

NuGet
GitHub top language

// Create a parser from an exported chat history
var parser = new Parser("chat.txt");

// Enumerate all messages in that history file
foreach (var message in parser.Messages()) {
    Console.WriteLine($"{message.Timestamp:yyyy-MM-dd HH:mm} {message.Sender}: {message.Content}");
}

Parser.Messages is an enumerator, that means it will only read that many messages as you really need by leveraging the power of Linq.

It will return Message objects. They have three properties:

  • Timestamp The point in time the message was sent down to the minute.
  • Sender String representation of the message author. This can be the telephone number or the contact name behind this number.
  • Content The actual message sent by the sender. This might be multi-line.

Be aware that history entries like encryption information or group invitations are ignored when parsing.

WhatspApp chat history parser

A light-weight C# library that parses exported chat histories from WhatsApp.

NuGet
GitHub top language

// Create a parser from an exported chat history
var parser = new Parser("chat.txt");

// Enumerate all messages in that history file
foreach (var message in parser.Messages()) {
    Console.WriteLine($"{message.Timestamp:yyyy-MM-dd HH:mm} {message.Sender}: {message.Content}");
}

Parser.Messages is an enumerator, that means it will only read that many messages as you really need by leveraging the power of Linq.

It will return Message objects. They have three properties:

  • Timestamp The point in time the message was sent down to the minute.
  • Sender String representation of the message author. This can be the telephone number or the contact name behind this number.
  • Content The actual message sent by the sender. This might be multi-line.

Be aware that history entries like encryption information or group invitations are ignored when parsing.

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.0.1 138 11/5/2018
1.0.0 82 11/2/2018