Telegrator.Hosting
Implementation of that provides bot information.
Contains metadata about the Telegram bot including user details and service provider for wider filterring abilities
Implementation of that provides bot information.
Contains metadata about the Telegram bot including user details and service provider for wider filterring abilities
Provides access to services of this Hosted telegram bot
Provides access to configuration of this Hosted telegram bot
Represents a hosted telegram bots and services builder that helps manage configuration, logging, lifetime, and more.
Initializes a new instance of the class.
Initializes a new instance of the class.
Adapter for Microsoft.Extensions.Logging to work with Telegrator logging system.
This allows seamless integration with ASP.NET Core logging infrastructure.
Initializes a new instance of MicrosoftLoggingAdapter.
The Microsoft.Extensions.Logging logger instance.
Service for receiving updates for Hosted telegram botsand queuing them to router
Service for receiving updates for Hosted telegram botsand queuing them to router
of this router
Default exception handler of this router
Provides extension methods for to configure Telegrator.
The key used to store the in the builder properties.
Replaces TelegramBotHostBuilder. Configures DI, options, and handlers.
Replaces TelegramBotHostBuilder. Configures DI, options, and handlers.
Replaces TelegramBotHostBuilder. Configures DI, options, and handlers.
Replaces TelegramBotHostBuilder. Configures DI, options, and handlers.
Replaces TelegramBotHostBuilder. Configures DI, options, and handlers.
Contains extensions for
Provides method to configure Telegram Bot Host
Adds TelegramBotClientOptions to services
Adds ReceiverOptions to services
Registers service
Registers default services
Registers service with to receive updates using long polling
factory method
Provides useful methods to adjust Telegram bot Host
Replaces the initialization logic from TelegramBotWebHost constructor.
Initializes the bot and logs handlers on application startup.
Configures bots available commands depending on what handlers was registered
Adds a Microsoft.Extensions.Logging adapter to Alligator using a logger factory.
Provides extension methods for logging Telegrator-related information.
Logs the registered handlers to the specified logger.
The logger to write to.
The collection of handlers to log.