Class RoleConnection
- Namespace
- Discord
- Assembly
- Discord.Net.Core.dll
Represents the connection object that the user has attached.
public class RoleConnection
- Inheritance
-
RoleConnection
- Inherited Members
Properties
Metadata
Gets the object mapping RoleConnectionMetadata keys to their string-ified values.
public IReadOnlyDictionary<string, string> Metadata { get; }
Property Value
PlatformName
Gets the vanity name of the platform a bot has connected to.
public string PlatformName { get; }
Property Value
PlatformUsername
Gets the username on the platform a bot has connected to.
public string PlatformUsername { get; }
Property Value
Methods
ToRoleConnectionProperties()
Initializes a new RoleConnectionProperties with the data from this object.
public RoleConnectionProperties ToRoleConnectionProperties()