Class ExecuteWebhookOptions
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class ExecuteWebhookOptions
Properties
| Name | Description |
|---|---|
| AvatarUrl | Gets or sets the URL of the avatar to override the webhook's normal avatar with (or null to not override). |
| Content | Gets or sets the text content to include in the message (or null to only use embeds and/or attachments). |
| Embeds | Gets or sets embeds to include in the created message (or null to only use text content and/or attachments). |
| TextToSpeech | Gets or sets whether the created message should use text-to-speech (or null to default to false). |
| UsernameOverride | Gets or sets the username to override the webhook's normal username with (or null to not override). |
Methods
| Name | Description |
|---|---|
| SetAvatarOverride(string) | Sets the URL of the avatar to override the webhook's normal avatar with. |
| SetContent(string) | Sets the text content to include in the message. |
| SetEmbed(EmbedOptions) | Sets the embed to be included in the created message. |
| SetEmbeds(IEnumerable<EmbedOptions>) | Sets the embeds to be included in the created message. |
| SetTextToSpeech(bool) | Sets whether the created message should use text-to-speech. |
| SetUsernameOverride(string) | Sets the username to override the webhook's normal username with. |