From 436566adeb2023d0f0177d36ac02dcacc4d866ad Mon Sep 17 00:00:00 2001 From: FlorianDahn Date: Thu, 30 Jun 2022 16:26:39 +0200 Subject: [PATCH] Update README.md --- .../README.md | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/TelegramBotBase.Extensions.Serializer.Database.MSSQL/README.md b/TelegramBotBase.Extensions.Serializer.Database.MSSQL/README.md index 565bc57..d35b330 100644 --- a/TelegramBotBase.Extensions.Serializer.Database.MSSQL/README.md +++ b/TelegramBotBase.Extensions.Serializer.Database.MSSQL/README.md @@ -1,4 +1,4 @@ -# TelegramBotBase.Extensions.Images +# TelegramBotBase.Extensions.Serializer.Database.MSSQL [![NuGet version (TelegramBotBase)](https://img.shields.io/nuget/v/TelegramBotBase.Extensions.Serializer.Database.MSSQL.svg?style=flat-square)](https://www.nuget.org/packages/TelegramBotBase.Extensions.Serializer.Database.MSSQL/) [![telegram chat](https://img.shields.io/badge/Support_Chat-Telegram-blue.svg?style=flat-square)](https://www.t.me/tgbotbase) @@ -6,3 +6,24 @@ [![license](https://img.shields.io/github/license/MajMcCloud/telegrambotframework.svg?style=flat-square&maxAge=2592000&label=License)](https://raw.githubusercontent.com/MajMcCloud/TelegramBotFramework/master/LICENCE.md) [![downloads](https://img.shields.io/nuget/dt/TelegramBotBase.Extensions.Serializer.Database.MSSQL.svg?style=flat-square&label=Package%20Downloads)](https://www.nuget.org/packages/TelegramBotBase.Extensions.Serializer.Database.MSSQL) + +## How to use + +``` +using TelegramBotBase.Extensions.Serializer.Database.MSSQL; + + +var bb = BotBaseBuilder + .Create() + .WithAPIKey(APIKey) + .DefaultMessageLoop() + .WithStartForm() + .NoProxy() + .OnlyStart() + .UseSQLDatabase("localhost", "telegram_bot") + .UseEnglish() + .Build(); + +bb.Start(); + +``` \ No newline at end of file