C# Class Microsoft.AspNet.WebHooks.SlackSlashResponse

An IWebHookHandler can post a response to a Slack Slash request by updating the System.Net.Http.HttpResponseMessage on the WebHookHandlerContext with a response containing a SlackSlashResponse. Please see https://api.slack.com/docs/attachments#message_formatting for additional details.
ファイルを表示 Open project: aspnet/WebHooks Class Usage Examples

Private Properties

Property Type Description
SlackSlashResponse System

Public Methods

Method Description
SlackSlashResponse ( string text ) : System

Initializes a new instance of the SlackSlashResponse class with the given text.

Private Methods

Method Description
SlackSlashResponse ( ) : System

Default constructor for serialization purposes

Method Details

SlackSlashResponse() public method

Initializes a new instance of the SlackSlashResponse class with the given text.
public SlackSlashResponse ( string text ) : System
text string The Slack Slash command response text. The text may contain Markdown-style formatting /// as described in https://api.slack.com/docs/formatting. The contents will automatically be collapsed /// if it contains more than 700 characters or more than 5 line breaks. In this case it will be displayed with /// a "Show more..." link to the contents. ///
return System