public TelegramBotData(ITelegramBotClient bot, IDispatcherBuilder dispatcherBuilder, string endpoint, string basePath = "/telegram")
 {
     Endpoint   = endpoint;
     Bot        = bot;
     Dispatcher = dispatcherBuilder.SetTelegramBotData(this).Build();
     BasePath   = basePath;
 }
Exemple #2
0
 public TelegramBotData(ITelegramBotClient bot, IDispatcherBuilder dispatcherBuilder, string endpoint,
                        string basePath, UserUpdate userUpdate)
 {
     SetupParameters(bot, dispatcherBuilder.SetTelegramBotData(this).Build(), endpoint, basePath, userUpdate);
 }