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 bot framework and controller registration
Restructure the TelegramBot application by removing the
`MapControllers` method from the `IBot` interface and
implementing the `AddBotControllers` extension method
in `ServiceCollectionExtensions`. This change allows
for direct registration of bot controllers into the
service collection, enhancing modularity and
maintainability. The `Run` method in `BotApp` has
been simplified, and the `BotControllerMethodsContainer`
is now instantiated within the new extension method.