Пример #1
0
        private Authorizer(string token, UpdatesHandler updatesHandler, Secrets clientSecret)
        {
            updatesHandler.NullInspect(nameof(updatesHandler));
            clientSecret.NullInspect(nameof(clientSecret));

            ClientSecret           = clientSecret;
            _botActions            = new BotActions(token);
            AuthorizeRequestEvent += Authorizer_AuthorizeRequestEvent;
        }