Esempio n. 1
0
        private void Bot_OnMessage(object sender, Telegram.Bot.Args.MessageEventArgs e)
        {
            Message message = e.Message;

            if (message.Text != null)
            {
                message.Text = message.Text.ToLower();
                LogsLevels.LogMessage(message.Chat.Title, message.From.Username, message.Text);
                Other.CheckUser(message);
                Other.CheckMessage(message);
            }
        }