|
|
@@ -5,19 +5,19 @@ namespace Discord |
|
|
|
public interface IConnection |
|
|
|
{ |
|
|
|
/// <summary> Gets the ID of the connection account. </summary> |
|
|
|
/// <returns> Gets the ID of the connection account. </returns> |
|
|
|
/// <returns> The unique idenitifer of this connection. </returns> |
|
|
|
string Id { get; } |
|
|
|
/// <summary> Gets the service of the connection (twitch, youtube). </summary> |
|
|
|
/// <returns> Gets the service of the connection (twitch, youtube). </returns> |
|
|
|
/// <returns> A string containing the name of this type of connection. </returns> |
|
|
|
string Type { get; } |
|
|
|
/// <summary> Gets the username of the connection account. </summary> |
|
|
|
/// <returns> Gets the username of the connection account. </returns> |
|
|
|
/// <returns> A string containing the name of this connection. </returns> |
|
|
|
string Name { get; } |
|
|
|
/// <summary> Gets whether the connection is revoked. </summary> |
|
|
|
/// <returns> Gets whether the connection is revoked. </returns> |
|
|
|
/// <returns> A value which if true indicates that this connection has been revoked, otherwise false. </returns> |
|
|
|
bool IsRevoked { get; } |
|
|
|
/// <summary> Gets a <see cref="IReadOnlyCollection{T}"/> of integration IDs. </summary> |
|
|
|
/// <returns> Gets a <see cref="IReadOnlyCollection{T}"/> of integration IDs. </returns> |
|
|
|
/// <returns> An <see cref="IReadOnlyCollection{T}"/> containing the unique identifier values of integrations. </returns> |
|
|
|
IReadOnlyCollection<ulong> IntegrationIds { get; } |
|
|
|
} |
|
|
|
} |