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.
파일 보기 프로젝트 열기: aspnet/WebHooks 1 사용 예제들

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