Discore
Show / Hide Table of Contents

Class ExecuteWebhookOptions

Inheritance
object
ExecuteWebhookOptions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX