Interface IConnection
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
public interface IConnection
Properties
FriendSync
Gets whether friend sync is enabled for this connection.
bool FriendSync { get; }
Property Value
Id
Gets the ID of the connection account.
string Id { get; }
Property Value
Integrations
Gets a IReadOnlyCollection<T> of integration partials.
IReadOnlyCollection<IIntegration> Integrations { get; }
Property Value
IsRevoked
Gets whether the connection is revoked.
bool? IsRevoked { get; }
Property Value
- bool?
A value which if true indicates that this connection has been revoked, otherwise false.
Name
Gets the username of the connection account.
string Name { get; }
Property Value
- string
A string containing the name of this connection.
ShowActivity
Gets whether activities related to this connection will be shown in presence updates.
bool ShowActivity { get; }
Property Value
Type
Gets the service of the connection (twitch, youtube).
string Type { get; }
Property Value
- string
A string containing the name of this type of connection.
Verified
Gets whether the connection is verified.
bool Verified { get; }
Property Value
Visibility
Visibility of this connection.
ConnectionVisibility Visibility { get; }