SlackChatMessageSettings Class

Summary

Class that lets you override default API settings
Assembly
Cake.Slack.dll
Namespace
Cake.Slack.Chat
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SlackChatMessageSettings"] class Type type-node

Syntax

public sealed class SlackChatMessageSettings

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Properties

Name Value Summary
IconUrl Uri
URL to an image to use as the icon for this message
IncomingWebHookUrl string
This can be used instead of token (https://api.slack.com/incoming-webhooks)
LinkNames bool
Find and link channel names and usernames.
ThrowOnFail Nullable<bool>
Optional flag for if should throw exception on failure
Token string
Slack token used for authentication.
UserName string
Name of bot.

Extension Methods

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