There is a solution.I am running into the exact same issue on my Mi9 SE. I've set the lock screen to show notifications including their contents. Also, the app itself is set to show content on the lock screen.
Yet, the only thing I see is something like "WhatsApp, 1 message".
Look in my post https://xiaomi.eu/community/threads/9-5-23.50651/post-488890