You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tencent.go
    path of file: ./repos/Artalk/internal/anti_spam
    
    the code of the file until where you have to start completion: package anti_spam

import (
	"fmt"

	"github.com/ArtalkJS/Artalk/internal/cloud/qcloud"
)

var _ Checker = (*TencentChecker)(nil)

type TencentChecker struct {
	SecretID  string
	SecretKey string
	Region    string
}

func NewTencentChecker(secretID, secretKey, region string) Checker {
	return
    
func (c *TencentChecker) Check(p *CheckerParams) (bool, error) {
	return qcloud.TMS(qcloud.TmsConf{
		SecretID:  c.SecretID,
		SecretKey: c.SecretKey,
		Region:    c.Region,
		Content:   p.Content,
		DataID:    fmt.Sprintf("comment-%d", p.CommentID),
		UserID:    fmt.Sprintf("%d", p.UserID),
		UserName:  p.UserName,
		DeviceIP:  p.UserIP,
	})
}