public LINEClient(LINEConfig config) { this.config = config; messagingClient = new LineMessagingClient( config.ChannelAccessToken, config.Uri ); }
public LINEAdapterMiddleware(LINEConfig config) { this.config = config; }
public LineMiddleware(RequestDelegate next, LINEConfig config) { this.next = next; this.config = config; }
public LINEConversation(LINEConfig config) { this.client = new LINEClient(config); }
/// <summary> /// Add UseLINEChannel method to IAppBuilder /// </summary> /// <param name="appBuilder"></param> /// <param name="config">LINE Configuration</param> /// <returns></returns> public static IApplicationBuilder UseLINEChannel(this IApplicationBuilder appBuilder, LINEConfig config) { appBuilder.UseMiddleware <LineMiddleware>(config); return(appBuilder); }
public LINEConnectorClient(LINEConfig config) { Conversations = new LINEConversation(config); }