This is the program.cs class for a C# app the uses telegram.bot, wolflive.api, newtonsoft.json. check the code for any errors and fix them. notice that there's already an error at line 92: "object not set to an instance of an object"
this is the code: "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;

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)
            {
                // 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");
                        if (jsonFromFile == null)
                        {
                            var set = new List<AccountsList>();
                            set.Add(data);
                            string jsonString = JsonConvert.SerializeObject(set);
                            System.IO.File.WriteAllText("accounts.json", jsonString);

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

                            Message sentMessage = await botClient.SendTextMessageAsync(
                                            chatId: chatId,
                                            text: "تم اضافة الحساب " + email + "\n هذه هي القائمة الحالية بالحسابات الخاصة بك:" + accountsFromFile.ToList(),
                                            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("/ارسل"))
                {
                    string[] parts = messageText.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);

                    // The first line contains the command (“/add”)
                    string command = parts[0];
                    string text = parts[1];
                    string GroupID = parts[2];
                    string Times = parts[3];
                    string seconds = parts[4];

                    if (text != null || GroupID != null || Times != null || seconds != 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;
                            }
                            for (int i = 1; i < Convert.ToInt32(Times); i++)
                            {
                                await client.GroupMessage(GroupID, text);

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

                                Thread.Sleep(waiting);
                            }
                            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(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);

                    // The first line contains the command (“/add”)
                    string command = parts[0];
                    string GroupID = parts[1];
                    string 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);
                    }                   
                }
            }

            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; }
    }
}"