this is a telegram bot made using telegram.bot in C#: "using Telegram.Bot.Exceptions;
using Telegram.Bot.Polling;
using Telegram.Bot.Types.Enums;
using Telegram.Bot.Types;
using Telegram.Bot;
using WolfLive.Api;
using WolfLive.Api.Commands;
using Newtonsoft.Json;
using System.IO;
using System.Text.RegularExpressions;
using System.Diagnostics.SymbolStore;

namespace WolfyMessagesBot
{
    internal class Program
    {
        public async static Task Main(string[] args)
        {
            var botClient = new TelegramBotClient("<TRUFFLEHOG_REDACTED_TELEGRAMBOTTOKEN>");

            using CancellationTokenSource cts = new();

            // StartReceiving does not block the caller thread. Receiving is done on the ThreadPool.
            ReceiverOptions receiverOptions = new()
            {
                AllowedUpdates = Array.Empty<UpdateType>() // receive all update types except ChatMember related updates
            };

            botClient.StartReceiving(
                updateHandler: HandleUpdateAsync,
                pollingErrorHandler: HandlePollingErrorAsync,
                receiverOptions: receiverOptions,
                cancellationToken: cts.Token
            );

            var me = await botClient.GetMeAsync();

            Console.WriteLine($"Start listening for @{me.Username}");
            Console.ReadLine();

            // Send cancellation request to stop bot
            cts.Cancel();

            async Task HandleUpdateAsync(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken)
            {
                var dd = new Program();
                // Only process Message updates: https://core.telegram.org/bots/api#message
                if (update.Message is not { } message)
                    return;
                // Only process text messages
                if (message.Text is not { } messageText)
                    return;

                var chatId = message.Chat.Id;               

                Console.WriteLine($"Received a '{messageText}' message in chat {chatId}.");

                // Echo received message text
                if (messageText.StartsWith("/اضف"))
                {
                    string[] parts = messageText.Split();

                    // The first line contains the command (“/add”)
                    string command = parts[0];

                    // The second line contains the email address
                    string email = parts[1];

                    // The third line contains the password
                    string password = parts[2];

                    if (email != null || password != null)
                    {
                        var data = new AccountsList();
                        data.Email = email;
                        data.Password = password;

                        string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                        List<AccountsList>? accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                        var search = accountsFromFile.Where(x => x.Email == email).FirstOrDefault();

                        if (search == null)
                        {
                            if (accountsFromFile == null)
                            {
                                var set = new List<AccountsList>();
                                set.Add(data);
                                string jsonString = JsonConvert.SerializeObject(set);
                                System.IO.File.WriteAllText("accounts.json", jsonString);

                                var jsonlist = "";

                                foreach (var item in set)
                                {
                                    jsonlist = jsonlist + " \n" + item.Email;
                                }
                                Message sentMessage = await botClient.SendTextMessageAsync(
                                                chatId: chatId,
                                                text: "تم اضافة الحساب " + email + "\n هذه هي القائمة الحالية بالحسابات الخاصة بك:" + jsonlist,
                                                cancellationToken: cancellationToken);
                            }
                            else
                            {
                                // Add new accounts to the list
                                accountsFromFile.Add(data);
                                string jsonString = JsonConvert.SerializeObject(accountsFromFile);
                                System.IO.File.WriteAllText("accounts.json", jsonString);

                                var jsonlist = "";

                                foreach (var item in accountsFromFile)
                                {
                                    jsonlist = jsonlist + " \n" + item.Email;
                                }

                                Message sentMessage = await botClient.SendTextMessageAsync(
                                                chatId: chatId,
                                                text: "تم اضافة الحساب " + email + "\n هذه هي القائمة الحالية بالحسابات الخاصة بك:" + jsonlist,
                                                cancellationToken: cancellationToken);
                            }
                        }
                        else
                        {
                            Message sentMessage = await botClient.SendTextMessageAsync(
                                                chatId: chatId,
                                                text: "هذا الحساب موجود مُسبقًا.",
                                                cancellationToken: cancellationToken);
                        }
                    }
                    else
                    {
                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "يوجد خطأ في الإيعاز.",
                                            cancellationToken: cancellationToken);
                    }
                }               
                else if (messageText == "/تشغيل")
                {
                    string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                    List<AccountsList> accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                    Parallel.ForEach(accountsFromFile, async item =>
                    {
                        var client = new WolfClient();

                        var loggedIn = await client.Login(item.Email, item.Password);

                        if (!loggedIn)
                        {
                            Message senddMessage = await botClient.SendTextMessageAsync(
                                        chatId: chatId,
                                        text: "فشل تسجيل الدخول على حساب: " + item.Email,
                                        cancellationToken: cancellationToken);
                            return;
                        }

                        Message sentMessage = await botClient.SendTextMessageAsync(
                                        chatId: chatId,
                                        text: "تم بنجاح تسجيل الدخول على حساب: : " + item.Email,
                                        cancellationToken: cancellationToken);
                        await Task.Delay(-1);
                    });
                }
                else if (messageText.StartsWith("/ارسل"))
                {
                    var parts = Regex.Matches(messageText, @"[\""].+?[\""]|[^ ]+")
                .Cast<Match>()
                .Select(m => m.Value)
                .ToList();

                    string text = parts[1].Replace("\"","");
                    string GroupID = parts[2];
                    string Times = parts[3];
                    string seconds = parts[4];

                    if (text != null || GroupID != null)
                    {
                        string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                        List<AccountsList> accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                        Parallel.ForEach(accountsFromFile, async item =>
                        {
                            var client = new WolfClient();                           
                            var loggedIn = await client.Login(item.Email, item.Password);

                            if (!loggedIn)
                            {
                                Message senddMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "فشل تسجيل الدخول على حساب: " + item.Email,
                                            cancellationToken: cancellationToken);
                                return;
                            }
                            if (Convert.ToInt32(Times) == 0 || Convert.ToInt32(seconds) == 0)
                            {
                                await client.GroupMessage(GroupID, text);
                            }
                            else
                            {
                                for (int i = 0; i < Convert.ToInt32(Times); i++)
                                {                                   
                                    await client.GroupMessage(GroupID, text);

                                    int waiting = Convert.ToInt32(seconds) * 1000;

                                    Message se = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "أرسل " + item.Email + " الرسالة بنجاح.",
                                            cancellationToken: cancellationToken);                                   

                                    Thread.Sleep(waiting);

                                    var messages = await botClient.GetUpdatesAsync(offset: update.Id, cancellationToken: cancellationToken);
                                    var newMessage = messages.FirstOrDefault()?.Message;                             

                                }
                            }                            
                            Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "أرسل " + item.Email + " الرسالة بنجاح.",
                                            cancellationToken: cancellationToken);
                            await Task.Delay(-1);
                        });
                    }
                    else
                    {
                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "يوجد خطأ في الإيعاز.",
                                            cancellationToken: cancellationToken);
                    }
                }
                else if (messageText.StartsWith("/انضم"))
                {
                    string[] parts = messageText.Split();

                    // The first line contains the command (“/add”)
                    string command = parts[0];
                    string GroupID = parts[1];
                    string Password = "";

                    if (parts.Length > 2)
                    {
                        Password = parts[2];
                    }

                    if (GroupID != null)
                    {
                        string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                        List<AccountsList> accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                        Parallel.ForEach(accountsFromFile, async item =>
                        {
                            var client = new WolfClient();

                            var loggedIn = await client.Login(item.Email, item.Password);

                            if (!loggedIn)
                            {
                                Message senddMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "فشل تسجيل الدخول على حساب: " + item.Email,
                                            cancellationToken: cancellationToken);
                                return;
                            }
                            if (Password == null)
                            {
                                await client.JoinGroup(GroupID);
                            }
                            else
                            {
                                await client.JoinGroup(GroupID, Password);
                            }
                            Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "إنضم " + item.Email + "للروم بنجاح.",
                                            cancellationToken: cancellationToken);
                            await Task.Delay(-1);
                        });
                    }
                    else
                    {
                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "يوجد خطأ في الإيعاز.",
                                            cancellationToken: cancellationToken);
                    }                   
                }
                else if (messageText == "/قائمة")
                {                 
                    string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                    List<AccountsList>? accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                    if (accountsFromFile == null)
                    {
                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "لا يوجد أى حسابات في القائمة.",
                                            cancellationToken: cancellationToken);
                    }
                    else
                    {
                        var show = "";
                        foreach (var item in accountsFromFile)
                        {
                            show = show + " \n" + item.Email;
                        }

                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "الحسابات المُستخدمة: \n" + show,
                                            cancellationToken: cancellationToken);
                    }
                }
                else if (messageText.StartsWith("/حذف"))
                {
                    string jsonFromFile = System.IO.File.ReadAllText("accounts.json");
                    List<AccountsList>? accountsFromFile = JsonConvert.DeserializeObject<List<AccountsList>>(jsonFromFile);

                    if (accountsFromFile == null)
                    {
                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "لا يوجد أى حسابات في القائمة.",
                                            cancellationToken: cancellationToken);
                    }
                    else
                    {
                        string[] parts = messageText.Split();
                        string command = parts[0];
                        string emails = parts[1];

                        var data = accountsFromFile.Where(x => x.Email == emails).FirstOrDefault();
                        accountsFromFile.Remove(data);

                        string jsonString = JsonConvert.SerializeObject(accountsFromFile);
                        System.IO.File.WriteAllText("accounts.json", jsonString);

                        Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "تم حذف " + emails + " من القائمة.",
                                            cancellationToken: cancellationToken);
                    }
                }
                else if (messageText == "/وقف")
                {
                    Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "تم إيقاف العملية.",
                                            cancellationToken: cancellationToken);
                }
            }

            Task HandlePollingErrorAsync(ITelegramBotClient botClient, Exception exception, CancellationToken cancellationToken)
            {
                var ErrorMessage = exception switch
                {
                    ApiRequestException apiRequestException
                        => $"Telegram API Error:\n[{apiRequestException.ErrorCode}]\n{apiRequestException.Message}",
                    _ => exception.ToString()
                };

                Console.WriteLine(ErrorMessage);
                return Task.CompletedTask;
            }          
        }
    }

    class AccountsList
    {
        public string Email { get; set; }
        public string Password { get; set; }
    }
}",  there's a for loop at line 202 that i need to break if the user at any given point typed the prefix "/stop", how can i achieve that?