Пример #1
0
        /*public void ReplyRecieved(Messaging message)
         * {
         *  if (!string.IsNullOrWhiteSpace(message?.message?.text))
         *  {
         *      // replyManager.SendImage(message.sender.id, "https://media.giphy.com/media/xUA7beWTUYAcGOkWIM/giphy.gif");
         *      replyManager.SendTextMessage(message.sender.id, DataConstants.GetMessage("Donot_understand", Language_choice));
         *      replyManager.SendLocationQuery(message.sender.id, 0);
         *  }
         *
         * }*/

        public void CheckForKnowText(Messaging message)
        {
            if (!string.IsNullOrWhiteSpace(message?.message?.text))
            {
                string txt = message.message.text;
                FreeTextHandler.CheckText(message.sender.id, txt);
            }
        }