Beispiel #1
0
        public String reponseQuestion(String req)
        {
            EvaluationResult ev = ob.Evaluate(req);

            ev.Invoke();
            Response resp = ob.MainUser.Responses.First <Response>();

            return(resp.Text);
        }
Beispiel #2
0
        public String answer(String message)
        {
            EvaluationResult ev = bot.Evaluate(message);

            ev.Invoke();
            Response resp = bot.MainUser.Responses.First <Response>();
            String   ans  = resp.Text;

            return(ans);
        }