DiscordChatMessageResult Class

Summary

The result of DiscordProvider Chat API post.
Namespace
Cake.Discord.Chat
Base Types
  • object
graph BT Type-->Base0["object"] Type["DiscordChatMessageResult"] class Type type-node

Syntax

[CakeAliasCategory("Discord")]
public sealed class DiscordChatMessageResult

Attributes

Type Description
CakeAliasCategory

Constructors

Name Summary
DiscordChatMessageResult(bool, string, int, string) Initializes a new instance of the DiscordChatMessageResult class.

Properties

Name Value Summary
Error string
Gets the error message on failure.
ErrorCode int
Gets the error code on failure.
Ok bool
Gets a value indicating whether the result is a success or failure, Error for info on failure.
TimeStamp string
Gets the timestamp of the message.

Methods

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