Search Results for

    Show / Hide Table of Contents

    Class RestAuditLogEntry

    Represents a REST-based audit log entry.

    Inheritance
    Object
    RestEntity<UInt64>
    RestAuditLogEntry
    Implements
    IEntity<UInt64>
    IAuditLogEntry
    ISnowflakeEntity
    IEntity<UInt64>
    Inherited Members
    RestEntity<UInt64>.Id
    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 Source

    Action

    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.

    | Improve this Doc View Source

    CreatedAt

    Declaration
    public DateTimeOffset CreatedAt { get; }
    Property Value
    Type Description
    DateTimeOffset
    | Improve this Doc View Source

    Data

    Gets the data for this entry.

    Declaration
    public IAuditLogData Data { get; }
    Property Value
    Type Description
    IAuditLogData

    An IAuditLogData for this audit log entry; null if no data is available.

    | Improve this Doc View Source

    Reason

    Declaration
    public string Reason { get; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    User

    Gets the user responsible for causing the changes.

    Declaration
    public IUser User { get; }
    Property Value
    Type Description
    IUser

    A user object.

    Implements

    IEntity<TId>
    IAuditLogEntry
    ISnowflakeEntity
    IEntity<TId>

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2