Search Results for

    Show / Hide Table of Contents

    Class DiscordVoiceState

    Represents a discord Voice State Structure API model. Docs: https://discord.com/developers/docs/resources/voice#voice-state-object-voice-state-structure

    Inheritance
    Object
    DiscordVoiceState
    Implements
    IEquatable<DiscordVoiceState>
    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 DiscordVoiceState : IEquatable<DiscordVoiceState>

    Properties

    | Improve this Doc View Source

    ChannelId

    The channel id this user is connected to.

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

    Deaf

    Whether this user is deafened by the server.

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

    GuildId

    The guild id this voice state is for.

    Declaration
    [JsonPropertyName("unavailable")]
    public ulong? GuildId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Member

    The guild member this voice state is for.

    Declaration
    [JsonPropertyName("member")]
    public DiscordGuildMemberData Member { get; set; }
    Property Value
    Type Description
    DiscordGuildMemberData
    | Improve this Doc View Source

    Mute

    Whether this user is muted by the server.

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

    RequestToSpeakTimestamp

    The time at which the user requested to speak.

    Declaration
    [JsonPropertyName("request_to_speak_timestamp")]
    public DateTimeOffset RequestToSpeakTimestamp { get; set; }
    Property Value
    Type Description
    DateTimeOffset
    | Improve this Doc View Source

    SelfDeaf

    Whether this user is locally deafened.

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

    SelfMute

    Whether this user is locally muted.

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

    SelfStream

    Whether this user is streaming using "Go Live".

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

    SelfVideo

    Whether this user's camera is enabled.

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

    SessionId

    The session id for this voice state.

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

    Suppress

    Whether this user is muted by the current user.

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

    UserId

    The user id this voice state is for.

    Declaration
    [JsonPropertyName("user_id")]
    public ulong UserId { get; set; }
    Property Value
    Type Description
    System.UInt64

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX