def METHOD_NAME(cls, payload):
    users = payload.get('event').get("notify_users_obj")
    tokens = {}
    for u in users:
        contacts = u.get("contacts")
        if contacts.get("wecom_robot_token", ""):
            tokens[contacts.get("wecom_robot_token", "")] = 1
    opener = urllib2.build_opener(urllib2.HTTPHandler())
    method = "POST"
    for t in tokens:
        url = "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key={}".format(t)
        body = {
            "msgtype": "markdown",
            "markdown": {
                "content": payload.get('tpls').get("wecom.tpl", "wecom.tpl not found")
            }
        }
        request = urllib2.Request(url, data=json.dumps(body))
        request.add_header("Content-Type",'application/json;charset=utf-8')
        request.get_method = lambda: method
        try:
            connection = opener.open(request)
            print(connection.read())
        except urllib2.HTTPError, error:
            print(error)