Search Results for

    Show / Hide Table of Contents

    Class DiscordIntegration

    Represents a Discord integration. These appear on the profile as linked 3rd party accounts.

    Inheritance
    System.Object
    SnowflakeObject
    DiscordIntegration
    Inherited Members
    SnowflakeObject.Id
    SnowflakeObject.CreationTimestamp
    Namespace: DisCatSharp.Entities
    Assembly: DisCatSharp.dll
    Syntax
    public class DiscordIntegration : SnowflakeObject

    Properties

    | Improve this Doc View Source

    Account

    Gets the 3rd party service account for this integration.

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

    ExpireBehavior

    Gets the expiration behaviour.

    Declaration
    public int ExpireBehavior { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ExpireGracePeriod

    Gets the grace period before expiring subscribers.

    Declaration
    public int ExpireGracePeriod { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsEnabled

    Gets whether this integration is enabled.

    Declaration
    public bool IsEnabled { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsSyncing

    Gets whether this integration is syncing.

    Declaration
    public bool IsSyncing { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Name

    Gets the integration name.

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

    RoleId

    Gets ID of the role this integration uses for subscribers.

    Declaration
    public ulong RoleId { get; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    SyncedAt

    Gets the date and time this integration was last synced.

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

    Type

    Gets the integration type.

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

    User

    Gets the user that owns this integration.

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

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems