Table of Contents

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

bool

Id

Gets the ID of the connection account.

string Id { get; }

Property Value

string

A string representing the unique identifier value of this connection.

Integrations

Gets a IReadOnlyCollection<T> of integration partials.

IReadOnlyCollection<IIntegration> Integrations { get; }

Property Value

IReadOnlyCollection<IIntegration>

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

bool

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

bool

Visibility

Visibility of this connection.

ConnectionVisibility Visibility { get; }

Property Value

ConnectionVisibility