diff --git a/TelegramBotBaseTest/Program.cs b/TelegramBotBaseTest/Program.cs index 6371196..0b66389 100644 --- a/TelegramBotBaseTest/Program.cs +++ b/TelegramBotBaseTest/Program.cs @@ -8,14 +8,22 @@ using TelegramBotBase; using TelegramBotBase.Form; using TelegramBotBaseTest.Tests; using TelegramBotBase.Commands; +using TelegramBotBase.Builder; + namespace TelegramBotBaseTest { class Program { static void Main(string[] args) { + String APIKey = ""; - BotBase bb = new BotBase(APIKey); + var bb = BotBaseBuilder + .Create() + .WithAPIKey(APIKey) + .WithStartForm() + .NoProxy() + .Build(); bb.BotCommands.AddStartCommand("Starts the bot"); bb.BotCommands.AddHelpCommand("Should show you some help");