Ejemplo n.º 1
0
        public override SendGroupMessageApiMahuaCommandResult Handle(SendGroupMessageApiMahuaCommand message)
        {
            var source = CoolQApi.CQ_sendGroupMsg(AuthCode, Convert.ToInt64(message.ToGroup), message.Message);
            var re     = new SendGroupMessageApiMahuaCommandResult
            {
                MessageCancelToken = _factory(source)
            };

            return(re);
        }
 public override void Handle(SendGroupMessageApiMahuaCommand message)
 {
     CoolQApi.CQ_sendGroupMsg(AuthCode, Convert.ToInt64(message.ToGroup), message.Message);
 }