Skip to content

Latest commit

 

History

History

TelegramBotBase.Extensions.Serializer.Database.MSSQL

TelegramBotBase.Extensions.Serializer.Database.MSSQL

NuGet version (TelegramBotBase) Telegram chat

License Package Downloads

How to use

using TelegramBotBase.Extensions.Serializer.Database.MSSQL;


var bot = BotBaseBuilder
            .Create()
            .WithAPIKey(APIKey)
            .DefaultMessageLoop()
            .WithStartForm<Start>()
            .NoProxy()
            .OnlyStart()
            .UseSQLDatabase("localhost", "telegram_bot")
            .UseEnglish()
            .Build();

bot.Start();