public BotController([NotNull] TelegramBotClient bot, [NotNull] ReflectionInfo reflectionInfo, [NotNull] PullMethods pullMethods) { this.Bot = new BaseBot(bot); this.Methods = pullMethods; this.Reflection = reflectionInfo; proc = new MessageProcessor(this.Reflection, this.Methods); Init(); }
public MessageProcessor([NotNull] ReflectionInfo reflection, [NotNull] PullMethods methods) { this.Methods = methods; this.Reflection = reflection; }