/** * Entrypoint starts imediately in the Main Async context of RunAsync() * All bot call will be async so everything running runs in an async context **/ public static Task Main(string[] args) => Startup.RunAsync(args);
public static async Task RunAsync(string[] args) { var startup = new Startup(args); await startup.RunAsync(); }