Discore
Show / Hide Table of Contents

Class DiscordWebhook

Inheritance
object
DiscordIdEntity
DiscordWebhook
Inherited Members
DiscordIdEntity.Id
DiscordIdEntity.ToString()
DiscordIdEntity.Equals(DiscordIdEntity)
DiscordIdEntity.Equals(object)
DiscordIdEntity.GetHashCode()
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Discore
Assembly: Discore.dll
Syntax
public class DiscordWebhook : DiscordIdEntity

Properties

Name Description
Avatar

Gets the default avatar of this webhook or null if no avatar is set.

ChannelId

Gets the ID of the channel this webhook is active for.

GuildId

Gets the ID of the guild this webhook belongs to.

HasToken

Gets whether this webhook instance contains the webhook token.

Name

Gets the default name of this webhook or null if no name is set.

Token

Gets the token of this webhook.

This is only populated if the current bot created the webhook, otherwise it's empty/null.

It's used for executing, updating, and deleting this webhook without the need of authorization.

User

Gets the user that created this webhook.

Will be null if this webhook was retrieved via its token.
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX