Class RestConnection
Assembly: Discord.Net.Rest.dll​
View Source​
Declaration
public class RestConnection : IConnection
Properties​
Id​
Gets the ID of the connection account.
View Source​
Declaration
public string Id { get; }
Type​
Gets the service of the connection (twitch, youtube).
View Source​
Declaration
public string Type { get; }
Name​
Gets the username of the connection account.
View Source​
Declaration
public string Name { get; }
IsRevoked​
Gets whether the connection is revoked.
View Source​
Declaration
public bool IsRevoked { get; }
IntegrationIds​
Gets a System.Collections.Generic.IReadOnlyCollection%601
of integration IDs.
View Source​
Declaration
public IReadOnlyCollection<ulong> IntegrationIds { get; }
Methods​
ToString()​
Gets the name of the connection.
View Source​
Declaration
public override string ToString()
Returns​
System.String
:
Name of the connection.