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.
Afficher le fichier Open project: aspnet/WebHooks Class Usage Examples

Private Properties

Свойство Type Description
SlackSlashResponse System

Méthodes publiques

Méthode Description
SlackSlashResponse ( string text ) : System

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

Private Methods

Méthode Description
SlackSlashResponse ( ) : System

Default constructor for serialization purposes

Method Details

SlackSlashResponse() public méthode

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. ///
Résultat System