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.
Represents a hosted telegram bot
This application's logger
Initializes a new instance of the class.
The proxied instance of host builder.
Creates new with default configuration, services and long-polling update receiving scheme
Creates new with default services and long-polling update receiving scheme
Creates new EMPTY WITHOUT any services or update receiving schemes
Creates new EMPTY WITHOUT any services or update receiving schemes
Disposes the host.
Initializes a new instance of the class.
Initializes a new instance of the class.
Builds the host.
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 bots
Service for receiving updates for Hosted telegram bots
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.
Gets the from the builder properties.
Contains extensions for
Provides method to configure Telegram Bot Host
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.