This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Slack.
Summary
Class to allow for message attachments
- Assembly
- Cake
.Slack .dll - Namespace
- Cake
.Slack .Chat - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["SlackChatMessageAttachment"]
class Type type-node
Syntax
public sealed class SlackChatMessageAttachment
Attributes
Type | Description |
---|---|
Cake |
Constructors
Name | Summary |
---|---|
Slack |
Initializes a new instance of the SlackChatMessageAttachment class.
|
Properties
Name | Value | Summary |
---|---|---|
Author_Icon | string |
The message author's icon url
|
Author_Link | string |
Link to the message author
|
Author_Name | string |
The message author's name.
|
Color | string |
Color displayed with the attachment
|
Fallback | string |
Required Text summary of the attachment that is shown by clients that understand attachments but choose not to show them.
|
Fields | IList |
Collection of
SlackChatMessageAttachmentField
|
Footer | string |
Footer text to display in message.
|
Footer_Icon | string |
Footer icon to display in message.
|
Image_Url | string |
Url to an image to display in message.
|
Mrkdwn_In | IList |
Collection of fields that use Slack's Markdown-like message formatting. Valid values are "pretext", "text", and "fields".
|
Pretext | string |
Optional Text that should appear above the formatted data
|
Text | string |
Optional Text that should appear within the attachment
|
Thumb_Url | string |
Url to thumbprint to display in message.
|
Title | string |
The message title.
|
Title_Link | string |
The message title link.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
From StringExtensions
Requires the Cake.Issues addin
|