Class DiscordConnection
Gets a Discord connection to a 3rd party service.
Inheritance
System.Object
DiscordConnection
Namespace: DisCatSharp.Entities
Assembly: DisCatSharp.dll
Syntax
public class DiscordConnection
Properties
| Improve this Doc View SourceFriendSync
Whether the connection will sync friends.
Declaration
public bool? FriendSync { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Id
Gets the id of the connection account
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
System.String |
Integrations
Gets a collection of partial server integrations.
Declaration
public IReadOnlyList<DiscordIntegration> Integrations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyList<DiscordIntegration> |
IsRevoked
Gets whether the connection is revoked.
Declaration
public bool IsRevoked { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the username of the connection account.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
ShowActivity
Gets whether the connection will show a activity.
Declaration
public bool? ShowActivity { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Type
Gets the service of the connection (twitch, youtube, steam, twitter, facebook, spotify, leagueoflegends, reddit)
Declaration
public string Type { get; }
Property Value
Type | Description |
---|---|
System.String |
Verified
Gets whether the connection is verified.
Declaration
public bool? Verified { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
Visibility
Gets the visibility of the connection.
Declaration
public long? Visibility { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |