Table of Contents

Class MessageDeleteAuditLogData

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

Contains a piece of audit log data related to message deletion(s).

public class MessageDeleteAuditLogData : IAuditLogData
Inheritance
MessageDeleteAuditLogData
Implements
Inherited Members

Properties

ChannelId

Gets the ID of the channel that the messages were deleted from.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the channel that the messages were deleted from.

MessageCount

Gets the number of messages that were deleted.

public int MessageCount { get; }

Property Value

int

An int representing the number of messages that were deleted from the channel.

Target

Gets the user of the messages that were deleted.

public IUser Target { get; }

Property Value

IUser

A user object representing the user that created the deleted messages.

Remarks

Will be null if the user is a 'Deleted User#....' because Discord does send user data for deleted users.