using PCRobot.Pack; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Chat.Framework.PCRobotSDK.WechatEvents { /// /// 微信状态事件 /// public class WechatStatusEvents : ChatEvent { /// /// Uin /// public string Uin { get; private set; } /// /// 状态 /// public Status Status { get; private set; } /// /// 消息命令 /// public PCRobotCMD Cmd { get; private set; } /// /// 机器人账号 /// public string RobotUsername { get; private set; } /// /// 机器人昵称 /// public string RobotUsernick { get; private set; } /// /// 机器人类型 /// public RobotType RobotType { get; private set; } /// /// 秘钥 /// public string Key { get; private set; } /// /// 消息命 /// public string MsgId { get; private set; } //public WechatStatus Data { get; private set; } public WechatStatusEvents(WechatStatus data) { this.Uin = data.Uin; this.Status = data.Status; this.RobotUsernick = data.RobotUsernick; this.RobotUsername = data.RobotUsername; this.RobotType = data.RobotType; this.MsgId = data.MsgId; this.Key = data.Key; this.Cmd = data.Cmd; } } }