Class SocketAuditLog
- Namespace
- Fluxer.Net
- Assembly
- Fluxer.Net.dll
public class SocketAuditLog : Entity, ISnowflake
- Inheritance
-
objectSocketAuditLog
- Implements
Properties
Action
public ActionType Action { get; }
Property Value
CreatedAt
Object created at UTC date.
[JsonIgnore]
public DateTimeOffset CreatedAt { get; }
Property Value
Guild
public SocketGuild Guild { get; }
Property Value
Id
Unique identifier (snowflake) for the object.
public ulong Id { get; }
Property Value
NewData
public IAuditLogData NewData { get; }
Property Value
OldData
public IAuditLogData? OldData { get; }
Property Value
Raw
public AuditLogRawDataJson Raw { get; }
Property Value
- AuditLogRawDataJson
Reason
public string? Reason { get; }
Property Value
TargetId
public ulong? TargetId { get; }
Property Value
UserId
public ulong? UserId { get; }
Property Value
Methods
Create(FluxerBaseClient, GuildAuditLogJson)
Create a Login object from json.
public static SocketAuditLog Create(FluxerBaseClient client, GuildAuditLogJson json)
Parameters
clientFluxerBaseClientjsonGuildAuditLogJson