Table of Contents

Class SocketAuditLog

Namespace
Fluxer.Net
Assembly
Fluxer.Net.dll
public class SocketAuditLog : Entity, ISnowflake
Inheritance
object
SocketAuditLog
Implements

Properties

Action

public ActionType Action { get; }

Property Value

ActionType

CreatedAt

Object created at UTC date.

[JsonIgnore]
public DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

Guild

public SocketGuild Guild { get; }

Property Value

SocketGuild

Id

Unique identifier (snowflake) for the object.

public ulong Id { get; }

Property Value

ulong

NewData

public IAuditLogData NewData { get; }

Property Value

IAuditLogData

OldData

public IAuditLogData? OldData { get; }

Property Value

IAuditLogData

Raw

public AuditLogRawDataJson Raw { get; }

Property Value

AuditLogRawDataJson

Reason

public string? Reason { get; }

Property Value

string

TargetId

public ulong? TargetId { get; }

Property Value

ulong?

UserId

public ulong? UserId { get; }

Property Value

ulong?

Methods

Create(FluxerBaseClient, GuildAuditLogJson)

Create a Login object from json.

public static SocketAuditLog Create(FluxerBaseClient client, GuildAuditLogJson json)

Parameters

client FluxerBaseClient
json GuildAuditLogJson

Returns

SocketAuditLog

SocketAuditLog