You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor methods and update package versions
Replaced `SendTextMessageAsync` with `SendMessage` across multiple files. Changed `ParseMode` in `InlineResult.cs` to non-nullable with default `ParseMode.None`. Updated `Microsoft.EntityFrameworkCore.Sqlite` and `Microsoft.EntityFrameworkCore.Tools` to `9.0.0` in `TelegramBot.ConsoleTest.csproj`. Updated `Telegram.Bot` to `22.0.2` and other packages to `9.0.0` in `TelegramBot.csproj`. Added using directives in `BotApp.cs`. Replaced `GetMeAsync` with `GetMe` in `BotApp.cs`. Adjusted order of operations and refactored `HostApplicationLifetime` logic in `BotApp.cs`. Removed unused using directives.