Hosting and startup abstractions for Intercom. When using NuGet 3.x this package requires at least version 3.4....
When only supplying bearer token
Intercom.Constants.Url.Production
andIntercom.Constants.Version.Latest
will be used.
await Host.CreateDefaultBuilder()
.UseIntercom((context) => new IntercomConfiguration(context.Configuration.GetValue<string>("Intercom:BearerToken"))
.Build()
.RunAsync();
await Host.CreateDefaultBuilder()
.UseIntercom((context) => new IntercomConfiguration(context.Configuration.GetValue<string>("Intercom:BearerToken"), Intercom.Constants.Url.Production, Intercom.Constants.Version.Latest)
.Build()
.RunAsync();