AddDialogsHandlers <TBot>( this TelegramBotFrameworkIServiceCollectionExtensions.ITelegramBotFrameworkBuilder <TBot> botBuilder) where TBot : BotBase <TBot> { return(botBuilder .AddUpdateHandler <DialogsCommand>() .AddUpdateHandler <PickDialogHandler>()); }
AddAuthHandlers <TBot>( this TelegramBotFrameworkIServiceCollectionExtensions.ITelegramBotFrameworkBuilder <TBot> botBuilder) where TBot : BotBase <TBot> { return(botBuilder .AddUpdateHandler <AuthCommand>() .AddUpdateHandler <LogoutCommand>()); }
AddCalendarHandlers <TBot>( this TelegramBotFrameworkIServiceCollectionExtensions.ITelegramBotFrameworkBuilder <TBot> botBuilder) where TBot : BotBase <TBot> { return(botBuilder .AddUpdateHandler <CalendarCommand>() .AddUpdateHandler <ChangeToHandler>() .AddUpdateHandler <PickDateHandler>() .AddUpdateHandler <YearMonthPickerHandler>() .AddUpdateHandler <MonthPickerHandler>() .AddUpdateHandler <YearPickerHandler>()); }