Search Results for

    Show / Hide Table of Contents

    Class DiscordConnectionData

    Represents a discord Connection API model. Docs: https://discord.com/developers/docs/resources/user#connection-object

    Inheritance
    Object
    DiscordConnectionData
    Inherited Members
    System.Object.Equals(System.Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Object.ToString()
    Namespace: Color_Chan.Discord.Core.Common.API.DataModels
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordConnectionData

    Properties

    | Improve this Doc View Source

    FriendSync

    Whether friend sync is enabled for this connection.

    Declaration
    [JsonPropertyName("friend_sync")]
    public bool FriendSync { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Id

    Id of the connection account.

    Declaration
    [JsonPropertyName("id")]
    public ulong Id { get; set; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    Name

    The username of the connection account.

    Declaration
    [JsonPropertyName("name")]
    public string Name { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Revoked

    Whether the connection is revoked.

    Declaration
    [JsonPropertyName("revoked")]
    public bool? Revoked { get; set; }
    Property Value
    Type Description
    System.Nullable<Boolean>
    | Improve this Doc View Source

    ShowActivity

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

    Declaration
    [JsonPropertyName("show_activity")]
    public bool ShowActivity { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Type

    The service of the connection (twitch, youtube).

    Declaration
    [JsonPropertyName("type")]
    public string Type { get; set; }
    Property Value
    Type Description
    String
    | Improve this Doc View Source

    Verified

    Whether the connection is verified.

    Declaration
    [JsonPropertyName("verified")]
    public bool Verified { get; set; }
    Property Value
    Type Description
    Boolean
    | Improve this Doc View Source

    Visibility

    Visibility of this connection.

    Declaration
    [JsonPropertyName("visibility")]
    public int Visibility { get; set; }
    Property Value
    Type Description
    Int32
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX