Example #1
0
        public override SendPrivateMessageApiMahuaCommandResult Handle(SendPrivateMessageApiMahuaCommand message)
        {
            var source = CoolQApi.CQ_sendPrivateMsg(AuthCode, Convert.ToInt64(message.ToQq), message.Message);
            var re     = new SendPrivateMessageApiMahuaCommandResult
            {
                MessageCancelToken = _factory(source),
            };

            return(re);
        }
Example #2
0
 public override void Handle(SendPrivateMessageApiMahuaCommand message)
 {
     CoolQApi.CQ_sendPrivateMsg(AuthCode, Convert.ToInt64(message.ToQq), message.Message);
 }