示例#1
0
        // POST api/values
        public HttpResponseMessage Post(UpdateObject input)
        {
            BotHandler botHandler = new BotHandler();

            botHandler.Process(input);
            return(new HttpResponseMessage(HttpStatusCode.OK));
        }
示例#2
0
        // POST api/values
        public HttpResponseMessage Post(UpdateObject input)
        {
            try
            {
                _botHandler.Process(input);
            }
            catch (Exception)
            {
            }

            return(new HttpResponseMessage(HttpStatusCode.OK));
        }