Browse Source

Added discord API documentation to IConnection interface

pull/1161/head
Chris Johnston 7 years ago
parent
commit
c572a98dc7
1 changed files with 16 additions and 1 deletions
  1. +16
    -1
      src/Discord.Net.Core/Entities/Users/IConnection.cs

+ 16
- 1
src/Discord.Net.Core/Entities/Users/IConnection.cs View File

@@ -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; }
} }
} }

Loading…
Cancel
Save