added Wechat message handling logic