Summary
Class that lets you override default API settings.
- Namespace
- Cake
.Discord .Chat - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DiscordChatMessageSettings"]
class Type type-node
Syntax
[CakeAliasCategory("Discord")]
public sealed class DiscordChatMessageSettings
Attributes
| Type | Description |
|---|---|
| CakeAliasCategory |
Properties
| Name | Value | Summary |
|---|---|---|
| AvatarUrl | Uri |
Gets or sets the URL to an image to use as the avatar for this message.
|
| ThrowOnFail | bool? |
Gets or sets whether to throw an exception on failure.
|
| Tts | bool |
Gets or sets a value indicating whether this message is a
Text to Speech message.
|
| UserName | string |
Gets or sets the name of the bot.
|