C# Class Microsoft.AspNet.WebHooks.SlackResponse

An IWebHookHandler can post back a response to a Slack channel by updating the System.Net.Http.HttpResponseMessage on the WebHookHandlerContext with a response containing a SlackResponse.
Show file Open project: aspnet/WebHooks Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
SlackResponse ( string text ) : System

Initializes a new instance of the SlackResponse with a given text to post to the Slack channel from which the WebHook were received.

Method Details

SlackResponse() public method

Initializes a new instance of the SlackResponse with a given text to post to the Slack channel from which the WebHook were received.
public SlackResponse ( string text ) : System
text string
return System