Show / Hide Table of Contents

Class SlackResponseAttachment

Inheritance
System.Object
SlackResponseAttachment
Namespace: LambdaSharp.Slack
Assembly: LambdaSharp.Slack.dll
Syntax
public class SlackResponseAttachment

Constructors

SlackResponseAttachment(String)

Declaration
public SlackResponseAttachment(string text)
Parameters
Type Name Description
System.String text

SlackResponseAttachment(String, String, String, String, String, IEnumerable<SlackResponseAttachmentFields>, String, String, IEnumerable<String>)

Declaration
public SlackResponseAttachment(string text = null, string pretext = null, string fallback = null, string color = null, string title = null, IEnumerable<SlackResponseAttachmentFields> fields = null, string footer = null, string timestamp = null, IEnumerable<string> markdownIn = null)
Parameters
Type Name Description
System.String text
System.String pretext
System.String fallback
System.String color
System.String title
System.Collections.Generic.IEnumerable<SlackResponseAttachmentFields> fields
System.String footer
System.String timestamp
System.Collections.Generic.IEnumerable<System.String> markdownIn

Properties

Color

Declaration
[JsonPropertyName("color")]
public string Color { get; set; }
Property Value
Type Description
System.String

Fallback

Declaration
[JsonPropertyName("fallback")]
public string Fallback { get; set; }
Property Value
Type Description
System.String

Fields

Declaration
[JsonPropertyName("fields")]
public IEnumerable<SlackResponseAttachmentFields> Fields { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<SlackResponseAttachmentFields>

Footer

Declaration
[JsonPropertyName("footer")]
public string Footer { get; set; }
Property Value
Type Description
System.String

MarkdownIn

Declaration
[JsonPropertyName("mrkdwn_in")]
public IEnumerable<string> MarkdownIn { get; set; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<System.String>

Pretext

Declaration
[JsonPropertyName("pretext")]
public string Pretext { get; set; }
Property Value
Type Description
System.String

Text

Declaration
[JsonPropertyName("text")]
public string Text { get; set; }
Property Value
Type Description
System.String

Timestamp

Declaration
[JsonPropertyName("ts")]
public string Timestamp { get; set; }
Property Value
Type Description
System.String

Title

Declaration
[JsonPropertyName("title")]
public string Title { get; set; }
Property Value
Type Description
System.String
In This Article
Back to top Generated by DocFX