SlackChatMessageAttachmentField Class

Summary

Field for message attachment
Assembly
Cake.Slack.dll
Namespace
Cake.Slack.Chat
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SlackChatMessageAttachmentField"] class Type type-node

Syntax

public sealed class SlackChatMessageAttachmentField

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Properties

Name Value Summary
Short bool
Optional flag indicating whether the `value` is short enough to be displayed side-by-side with other values
Title string
Required Field Title
Value string
Text value of the field. May contain standard message markup and must be escaped as normal

Extension Methods

Name Value Summary
Dump<SlackChatMessageAttachmentField>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SlackChatMessageAttachmentField>(SlackChatMessageAttachmentField[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SlackChatMessageAttachmentField>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SlackChatMessageAttachmentField>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SlackChatMessageAttachmentField>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<SlackChatMessageAttachmentField>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin