In the chat interface of WeChat client, you can press and hold the chat content, click "More"-"Forward", and in the forwarding window that pops up, you can choose "Delete the nickname in the chat message" to hide your friend's name.
In addition, you can also use image processing software, such as PS, GIMP, etc. , the information such as nicknames in WeChat screenshots is blurred to achieve the effect of hiding nicknames.