public BotController(TelegramBotSettings telegramBotConfiguration, IVoiceTranscriberService voiceTranscriberService, ISmallTalkService smallTalkService)
        {
            TelegramBotConfiguration = telegramBotConfiguration;
            VoiceTranscriberService  = voiceTranscriberService;
            SmallTalkService         = smallTalkService;

            TelegramBotClient = new TelegramBotClient(TelegramBotConfiguration.Token);
        }
Example #2
0
        public DistributorCommandBuilder
        (
            TelegramBotClient telegramBotClient,
            IVoiceTranscriberService voiceTranscriberService,
            ISmallTalkService smallTalkService,

            Update update
        )
        {
            TelegramBotClient = telegramBotClient;

            VoiceTranscriberService = voiceTranscriberService;

            SmallTalkService = smallTalkService;

            Update = update;
        }