Skip to main content

Interface IConnection

Assembly: Discord.Net.Core.dll​
View Source​
Declaration
public interface IConnection

Properties​

Id​

Gets the ID of the connection account.

View Source​
Declaration
string Id { get; }

Type​

Gets the service of the connection (twitch, youtube).

View Source​
Declaration
string Type { get; }

Name​

Gets the username of the connection account.

View Source​
Declaration
string Name { get; }

IsRevoked​

Gets whether the connection is revoked.

View Source​
Declaration
bool IsRevoked { get; }

IntegrationIds​

Gets a System.Collections.Generic.IReadOnlyCollection%601 of integration IDs.

View Source​
Declaration
IReadOnlyCollection<ulong> IntegrationIds { get; }