Search Results for

    Show / Hide Table of Contents

    Class TelegramBotWebHookHostBuilderExtensions

    Inheritance
    System.Object
    TelegramBotWebHookHostBuilderExtensions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: TelegramModularFramework.WebHook
    Assembly: TelegramModularFramework.WebHook.dll
    Syntax
    public static class TelegramBotWebHookHostBuilderExtensions

    Methods

    | Improve this Doc View Source

    ConfigureTelegramBotWebHookHost(IHostBuilder, Action<HostBuilderContext, TelegramBotWebHookHostConfiguration>)

    Adds and configures a Telegram.Bot.ITelegramBotClient along with the required services with WebHook support.

    Declaration
    public static IHostBuilder ConfigureTelegramBotWebHookHost(this IHostBuilder builder, Action<HostBuilderContext, TelegramBotWebHookHostConfiguration> config)
    Parameters
    Type Name Description
    Microsoft.Extensions.Hosting.IHostBuilder builder

    The host builder to configure.

    Action<Microsoft.Extensions.Hosting.HostBuilderContext, TelegramBotWebHookHostConfiguration> config

    The delegate to configure TelegramBotWebHookHostConfiguration

    Returns
    Type Description
    Microsoft.Extensions.Hosting.IHostBuilder
    • Improve this Doc
    • View Source
    ☀
    ☾
    In This Article
    Back to top
    TelegramModularFramework (c) 2022-2022
    ☀
    ☾