On the court of law, burden of proof is needed in order for the judge to tell the accused if he/she is guilty of a crime or lawsuit. One of the most powerful pieces of evidence one can use is WhatsApp messages because they involve the communication of the two parties involved.
One of the features that WhatsApp possess is the “Archive Messages” wherein you can store messages that are important or can be used on legalities such as lawsuits.
Using WhatsApp messages as a form of evidence is good but consider that some states do not recognize it and for some, the conversations should proof that it is substantial and useful enough for the prosecution.
With regarding this situation, consulting your lawyer is the best option. However, keeping these messages is essential. Only text messages can be shown to court with the consent of one party. Recorded phone calls without consent from both parties could not and might be used against you.
To know more, here is an infographic on how to use WhatsApp messages on court trials for your leverage.