What is the function of the QR code?

QR codes hold information which can be accessed by scanning them. On WeChat, they can be used to add a friend, following an official account, linking to Web WeChat, entering a competition and more advanced actions. WeChat’s built-in QR Code scanner allows you to scan any QR code.