added getAttrs method for WeChatApp service