DiscordChatMessageResult.

DiscordChatMessageResult(bool, string, int, string) Constructor

Summary

Initializes a new instance of the DiscordChatMessageResult class.
Assembly
Cake.Discord.dll
Namespace
Cake.Discord.Chat
Containing Type
DiscordChatMessageResult

Syntax

public DiscordChatMessageResult(bool ok, string timeStamp, int errorCode, string error)

Parameters

Name Type Description
ok bool Indicating success or failure.
timeStamp string Timestamp of the message.
errorCode int Error code on failure.
error string Error message on failure.

Return Value

Type Description
void