C# Class Microsoft.AspNet.WebHooks.SlackField

The SlackField class is used for expression table fields as part of a SlackAttachment, please see https://api.slack.com/docs/attachments for details. Fields are displayed in a table inside the message attachment.
Show file Open project: aspnet/WebHooks Class Usage Examples

Private Properties

Property Type Description
SlackField System

Public Methods

Method Description
SlackField ( string title, string value ) : System

Initializes a new instance of the SlackField with the given title and value.

Private Methods

Method Description
SlackField ( ) : System

Default constructor for serialization purposes

Method Details

SlackField() public method

Initializes a new instance of the SlackField with the given title and value.
public SlackField ( string title, string value ) : System
title string The field title shown as a bold heading above the value text. It cannot contain markup and will be escaped /// by the receiver.
value string The field value which may contain Markdown-style formatting as described in https://api.slack.com/docs/formatting. /// The value may be multi-line and must be escaped following Markdown rules.
return System