Table of Contents

Class Connection

Namespace
NetCord.Rest
Assembly
NetCord.dll
public class Connection : IJsonModel<JsonConnection>
Inheritance
Connection
Implements
Inherited Members

Constructors

Connection(JsonConnection, RestClient)

public Connection(JsonConnection jsonModel, RestClient client)

Parameters

jsonModel JsonConnection
client RestClient

Properties

FriendSync

Whether friend sync is enabled for this connection.

public bool FriendSync { get; }

Property Value

bool

Integrations

A list of server integrations.

public IReadOnlyList<Integration>? Integrations { get; }

Property Value

IReadOnlyList<Integration>

Name

The username of the connection account.

public string Name { get; }

Property Value

string

Revoked

Whether the connection is revoked.

public bool? Revoked { get; }

Property Value

bool?

ShowActivity

Whether activities related to this connection will be shown in presence updates.

public bool ShowActivity { get; }

Property Value

bool

Whether this connection has a corresponding third party OAuth2 token.

public bool TwoWayLink { get; }

Property Value

bool

Type

The service of this connection.

public ConnectionType Type { get; }

Property Value

ConnectionType

Verified

Whether the connection is verified.

public bool Verified { get; }

Property Value

bool

Visibility

Visibility of this connection.

public ConnectionVisibility Visibility { get; }

Property Value

ConnectionVisibility