completed wechat messge logic