public EventsApiCommand(ITelegramBotClient bot, IEventsStateRepository events, MessageConstants constants, IApiService api)
 {
     _bot       = bot;
     _events    = events;
     _constants = constants;
     _api       = api;
 }
Exemple #2
0
 public CommandDetector(IStateRepository states, IEventsStateRepository events)
 {
     _states = states;
     _events = events;
 }
 public GetEventsCommand(ITelegramBotClient bot, IEventsStateRepository events, MessageConstants constants)
 {
     _bot       = bot;
     _events    = events;
     _constants = constants;
 }