Table of Contents

Class SocketWebhookCreateAuditLogData

Namespace
Discord.WebSocket
Assembly
Discord.Net.WebSocket.dll

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

public class SocketWebhookCreateAuditLogData : ISocketAuditLogData, IAuditLogData
Inheritance
SocketWebhookCreateAuditLogData
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.

WebhookId

Gets the webhook id.

public ulong WebhookId { get; }

Property Value

ulong

The webhook identifier.