SlackChatMessageResult Class

Summary

The result of SlackProvider Chat API post
Assembly
Cake.Slack.dll
Namespace
Cake.Slack.Chat
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["SlackChatMessageResult"] class Type type-node

Syntax

public sealed class SlackChatMessageResult

Attributes

Type Description
CakeAliasCategoryAttribute

Constructors

Properties

Name Value Summary
Channel string
Encoded channel ID
Error string
Error message on failure
Ok bool
Indicating success or failure, Error for info on failure
TimeStamp string
Timestamp of the message

Methods

Name Value Summary
ToString() string
Converts this instance of value to a string representation

Extension Methods

Name Value Summary
Dump<SlackChatMessageResult>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<SlackChatMessageResult>(SlackChatMessageResult[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<SlackChatMessageResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<SlackChatMessageResult>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<SlackChatMessageResult>(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<SlackChatMessageResult>(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
Returns the string value or a Not set> markup suitable for Spectre.Console.
Requires the Cake.Issues addin