Don't have Telegram yet? Try it now!
https://kodejava.org/how-do-i-remove-an-element-from-xml-document/
How do I remove an element from XML document in JDOM?