Class RestAuditLogEntry
Represents a REST-based audit log entry.
Inherited Members
Namespace: Discord.Rest
Assembly: Discord.Net.Rest.dll
Syntax
public class RestAuditLogEntry : RestEntity<ulong>, IEntity<ulong>, IAuditLogEntry, ISnowflakeEntity, IEntity<ulong>
Properties
| Improve this Doc View SourceAction
Gets the action which occurred to create this entry.
Declaration
public ActionType Action { get; }
Property Value
Type | Description |
---|---|
ActionType | The type of action for this audit log entry. |
CreatedAt
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type | Description |
---|---|
DateTimeOffset |
Data
Gets the data for this entry.
Declaration
public IAuditLogData Data { get; }
Property Value
Type | Description |
---|---|
IAuditLogData | An IAuditLogData for this audit log entry; |
Reason
Declaration
public string Reason { get; }
Property Value
Type | Description |
---|---|
String |
User
Gets the user responsible for causing the changes.
Declaration
public IUser User { get; }
Property Value
Type | Description |
---|---|
IUser | A user object. |