static void Main(string[] args) { _acCommands = new ACCommands(new ACParametersAuthCode { BotAccessToken = "c88cbdcbce25497d8ba9edb71a97f06cd3e1fda419bc4adfb42cfc283f0bb29d", ClientId = "auth.code", ClientSecret = "secret", Scopes = "openid profile Allie.Chat.WebAPI", StreamCachePollingIntervalMS = 45000, ReconnectPollingIntervalMS = 15000 }); _acCommands.CommandEvent += OnCommandEvent; while (true) { Console.ReadLine(); } }
static void Main(string[] args) { var commandsAuthCode = new ACCommands(new ACParametersAuthCode { BotAccessToken = "cda0f5e754214a15bad4ce13fecf81658c8ce36e2ade42d7be63991194195ba2", ClientId = "auth.code", ClientSecret = "secret", Scopes = "openid profile Allie.Chat.WebAPI", StreamCachePollingIntervalMS = 45000, ReconnectPollingIntervalMS = 15000 }); commandsAuthCode.CommandEvent += OnCommandEvent; while (true) { Console.ReadLine(); } }