Interface IDiscordConnection
Represents a discord Connection API model. Docs: https://discord.com/developers/docs/resources/user#connection-object
Namespace: Color_Chan.Discord.Core.Common.Models
Assembly: Color-Chan.Discord.Core.dll
Syntax
public interface IDiscordConnection
Properties
| Improve this Doc View SourceFriendSync
Whether friend sync is enabled for this connection.
Declaration
bool FriendSync { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Id
Id of the connection account.
Declaration
ulong Id { get; set; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Name
The username of the connection account.
Declaration
string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Revoked
Whether the connection is revoked.
Declaration
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
bool ShowActivity { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Type
The service of the connection (twitch, youtube).
Declaration
string Type { get; set; }
Property Value
Type | Description |
---|---|
String |
Verified
Whether the connection is verified.
Declaration
bool Verified { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Visibility
Visibility of this connection.
Declaration
int Visibility { get; set; }
Property Value
Type | Description |
---|---|
Int32 |