diff --git a/TelegramBotBase/Builder/BotBaseBuilder.cs b/TelegramBotBase/Builder/BotBaseBuilder.cs index a936b6e..87b37d6 100644 --- a/TelegramBotBase/Builder/BotBaseBuilder.cs +++ b/TelegramBotBase/Builder/BotBaseBuilder.cs @@ -39,7 +39,10 @@ public class BotBaseBuilder : IAPIKeySelectionStage, IMessageLoopSelectionStage, /// private Dictionary> BotCommandScopes { get; } = new(); - + /// + /// Creates a full BotBase instance with all parameters previously set. + /// + /// public BotBase Build() { var bot = new BotBase(_apiKey, _client) diff --git a/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs b/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs index 17e49cc..1e92cc4 100644 --- a/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs +++ b/TelegramBotBase/Builder/Interfaces/IBuildingStage.cs @@ -2,5 +2,9 @@ public interface IBuildingStage { + /// + /// Creates a full BotBase instance with all parameters previously set. + /// + /// BotBase Build(); } \ No newline at end of file