C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
SlackSlashResponse System

Открытые методы

Метод Описание
SlackSlashResponse ( string text ) : System

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

Приватные методы

Метод Описание
SlackSlashResponse ( ) : System

Default constructor for serialization purposes

Описание методов

SlackSlashResponse() публичный Метод

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. ///
Результат System