package feishu

import "regexp"

var chatIdMatcher = regexp.MustCompile("^oc_")

func IsChatID(s string) bool {
	return chatIdMatcher.MatchString(s)
}

var chinaPhoneNoMatcher = regexp.MustCompile(`^(86|\+86)`)

func IsChinaPhoneNo(phoneNo string) bool {
	return chinaPhoneNoMatcher.MatchString(phoneNo)
}
