Pretty much all companies are data collection companies, or they have data collection services tacked onto their software. However, in this case, Tencent is a company in China, and China is a data collection country.
Tencent is not required by law to pass all user information to CCP.
If China wants to see it, then yes they are required by law to pass information to the CCP.