Class DiscordIntegration
Represents a Discord integration. These appear on the profile as linked 3rd party accounts.
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordIntegration : SnowflakeObject
Properties
| Improve this Doc View SourceAccount
Gets the 3rd party service account for this integration.
Declaration
public DiscordIntegrationAccount Account { get; }
Property Value
Type | Description |
---|---|
DiscordIntegrationAccount |
ExpireBehavior
Gets the expiration behaviour.
Declaration
public int ExpireBehavior { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
ExpireGracePeriod
Gets the grace period before expiring subscribers.
Declaration
public int ExpireGracePeriod { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
IsEnabled
Gets whether this integration is enabled.
Declaration
public bool IsEnabled { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsSyncing
Gets whether this integration is syncing.
Declaration
public bool IsSyncing { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the integration name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
RoleId
Gets ID of the role this integration uses for subscribers.
Declaration
public ulong RoleId { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
SyncedAt
Gets the date and time this integration was last synced.
Declaration
public DateTimeOffset SyncedAt { get; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
Type
Gets the integration type.
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
User
Gets the user that owns this integration.
Declaration
public DiscordUser User { get; }
Property Value
Type | Description |
---|---|
DiscordUser |