'articles = [
"title":"Happy Day",
"description":"Is Really A Happy Day",
"url":"URL",
"picurl":"PIC_URL"
"title":"Happy Day",
"description":"Is Really A Happy Day",
"url":"URL",
"picurl":"PIC_URL"
client.send_acticle_message("user_id", acticles)
:param user_id: çšæ· ID ã å°±æ¯äœ æ¶å°ç `Message` ç source
:param articles: äžäžªåå«è³å€8äžª article å­åžæ Article å¯¹è±¡çæ°ç»
:return: è¿åç JSON æ°æ®å'

def send_article_message(self, user_id, articles):

    if isinstance(articles[0], Article):
        formatted_articles = []
        for article in articles:
            result = article.args
            result['picurl'] = result.pop('img')
            formatted_articles.append(result)
    else:
        formatted_articles = articles
    return self.post(url='https://api.weixin.qq.com/cgi-bin/message/custom/send', data={'touser': user_id, 'msgtype': 'news', 'news': {'articles': formatted_articles}})
