Class RestAuditLogEntry
Represents a REST-based audit log entry.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class RestAuditLogEntry : RestEntity<ulong>, IAuditLogEntry, ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceAction
Declaration
public ActionType Action { get; }
Property Value
| Type | Description |
|---|---|
| ActionType |
CreatedAt
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
| Type | Description |
|---|---|
| System.DateTimeOffset |
Data
Declaration
public IAuditLogData Data { get; }
Property Value
| Type | Description |
|---|---|
| IAuditLogData |
Reason
Declaration
public string Reason { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
User
Declaration
public IUser User { get; }
Property Value
| Type | Description |
|---|---|
| IUser |