Skip to content

Release 1.0.35

Choose a tag to compare

@bvdcode bvdcode released this 29 Jun 09:36
· 7 commits to main since this release
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.