Table of Contents

Class WebhookCreateAuditLogData

Namespace
Discord.Rest
Assembly
Discord.Net.Rest.dll

Contains a piece of audit log data related to a webhook creation.

public class WebhookCreateAuditLogData : IAuditLogData
Inheritance
WebhookCreateAuditLogData
Implements
Inherited Members

Properties

Avatar

Gets the hash value of the webhook's avatar.

public string Avatar { get; }

Property Value

string

A string containing the hash of the webhook's avatar.

ChannelId

Gets the ID of the channel that the webhook could send to.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier of the channel that the webhook could send to.

Name

Gets the name of the webhook.

public string Name { get; }

Property Value

string

A string containing the name of the webhook.

Type

Gets the type of webhook that was created.

public WebhookType Type { get; }

Property Value

WebhookType

The type of webhook that was created.

Webhook

Gets the webhook that was created if it still exists.

public IWebhook Webhook { get; }

Property Value

IWebhook

A webhook object representing the webhook that was created if it still exists, otherwise returns null.

WebhookId

Gets the webhook id.

public ulong WebhookId { get; }

Property Value

ulong

The webhook identifier.