| @@ -1,14 +1,29 @@ | |||||
| using System.Collections.Generic; | |||||
| using System.Collections.Generic; | |||||
| namespace Discord | namespace Discord | ||||
| { | { | ||||
| public interface IConnection | public interface IConnection | ||||
| { | { | ||||
| /// <summary> | |||||
| /// ID of the connection account. | |||||
| /// </summary> | |||||
| string Id { get; } | string Id { get; } | ||||
| /// <summary> | |||||
| /// The service of the connection (twich, youtube). | |||||
| /// </summary> | |||||
| string Type { get; } | string Type { get; } | ||||
| /// <summary> | |||||
| /// The username of the connection account. | |||||
| /// </summary> | |||||
| string Name { get; } | string Name { get; } | ||||
| /// <summary> | |||||
| /// Wheter the connection is revoked. | |||||
| /// </summary> | |||||
| bool IsRevoked { get; } | bool IsRevoked { get; } | ||||
| /// <summary> | |||||
| /// A <see cref="IReadOnlyCollection{T}"/> of integration IDs. | |||||
| /// </summary> | |||||
| IReadOnlyCollection<ulong> IntegrationIds { get; } | IReadOnlyCollection<ulong> IntegrationIds { get; } | ||||
| } | } | ||||
| } | } | ||||