Table of Contents

Class MessageUnpinAuditLogData

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

Contains a piece of audit log data related to an unpinned message.

public class MessageUnpinAuditLogData : IAuditLogData
Inheritance
MessageUnpinAuditLogData
Implements
Inherited Members

Properties

ChannelId

Gets the ID of the channel that the message was unpinned from.

public ulong ChannelId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the channel that the message was unpinned from.

MessageId

Gets the ID of the messages that was unpinned.

public ulong MessageId { get; }

Property Value

ulong

A ulong representing the snowflake identifier for the messages that was unpinned.

Target

Gets the user of the message that was unpinned if available.

public IUser Target { get; }

Property Value

IUser

A user object representing the user that created the unpinned message or null.

Remarks

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