Class DiscordConnectionData
Represents a discord Connection API model. Docs: https://discord.com/developers/docs/resources/user#connection-object
Inherited Members
System.Object.Equals(System.Object)
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Color_Chan.Discord.Core.Common.API.DataModels
Assembly: Color-Chan.Discord.Core.dll
Syntax
public class DiscordConnectionData
Properties
| Improve this Doc View SourceFriendSync
Whether friend sync is enabled for this connection.
Declaration
[JsonPropertyName("friend_sync")]
public bool FriendSync { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Id
Id of the connection account.
Declaration
[JsonPropertyName("id")]
public ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Name
The username of the connection account.
Declaration
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Revoked
Whether the connection is revoked.
Declaration
[JsonPropertyName("revoked")]
public bool? Revoked { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<Boolean> |
ShowActivity
Whether activities related to this connection will be shown in presence updates.
Declaration
[JsonPropertyName("show_activity")]
public bool ShowActivity { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Type
The service of the connection (twitch, youtube).
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
String |
Verified
Whether the connection is verified.
Declaration
[JsonPropertyName("verified")]
public bool Verified { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Visibility
Visibility of this connection.
Declaration
[JsonPropertyName("visibility")]
public int Visibility { get; set; }
Property Value
Type | Description |
---|---|
Int32 |