public override SendGroupMessageApiMahuaCommandResult Handle(SendGroupMessageApiMahuaCommand message)
        {
            // 需传递发送人
            var info = MpqApi.Api_SendMsg(null, 2, 0, message.ToGroup, null, message.Message);

            return(null);
        }
        public override SendGroupMessageApiMahuaCommandResult Handle(SendGroupMessageApiMahuaCommand message)
        {
            MpqApi.Api_SendMsg(CurrentQq, 2, 0, message.ToGroup, null, message.Message);
            var re = new SendGroupMessageApiMahuaCommandResult
            {
                MessageCancelToken = MpqCancelMessageToken.EmptyActionToken
            };

            return(re);
        }
예제 #3
0
 public override void Handle(SendGroupMessageApiMahuaCommand message)
 {
     MpqApi.Api_SendMsg(CurrentQq, 2, 0, message.ToGroup, null, message.Message);
 }
 public override void Handle(SendPrivateMessageApiMahuaCommand message)
 {
     MpqApi.Api_SendMsg(CurrentQq, 1, 0, null, message.ToQq, message.Message);
 }
 public override void Handle(SendDiscussMessageApiMahuaCommand message)
 {
     MpqApi.Api_SendMsg(CurrentQq, 3, 0, message.ToDiscuss, null, message.Message);
 }