C# Класс Microsoft.AspNet.WebHooks.SlackAttachment

The SlackAttachment is used to describe the contents of an SlackSlashResponse.
Показать файл Открыть проект Примеры использования класса

Private Properties

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

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

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

Initializes a new instance of the SlackAttachment class with the given text and fallback.

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

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

Default constructor for serialization purposes

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

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

Initializes a new instance of the SlackAttachment class with the given text and fallback.
public SlackAttachment ( string text, string fallback ) : System
text string The main text in a message attachment. 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. ///
fallback string A plain-text summary of the attachment which will be used in clients /// that don't show formatted text (e.g. IRC, mobile notifications). It should not contain any markup.
Результат System