Search Results for

    Show / Hide Table of Contents

    Class DiscordStageInstance

    Represents a Stage instance.

    Inheritance
    System.Object
    SnowflakeObject
    DiscordStageInstance
    Inherited Members
    SnowflakeObject.Id
    SnowflakeObject.CreationTimestamp
    Namespace: DisCatSharp.Entities
    Assembly: DisCatSharp.dll
    Syntax
    public class DiscordStageInstance : SnowflakeObject, IEquatable<DiscordStageInstance>

    Properties

    | Improve this Doc View Source

    ChannelId

    Gets id of the associated Stage channel.

    Declaration
    public ulong ChannelId { get; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    DiscoverableDisabled

    Gets whether or not stage discovery is disabled.

    Declaration
    [Obsolete("Will be removed due to the discovery removal.", true)]
    public bool DiscoverableDisabled { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Guild

    Gets the guild to which this channel belongs.

    Declaration
    public DiscordGuild Guild { get; }
    Property Value
    Type Description
    DiscordGuild
    | Improve this Doc View Source

    GuildId

    Gets the guild id of the associated Stage channel.

    Declaration
    public ulong GuildId { get; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    PrivacyLevel

    Gets the topic of the Stage instance.

    Declaration
    [Obsolete("Will be static due to the discovery removal.")]
    public StagePrivacyLevel PrivacyLevel { get; }
    Property Value
    Type Description
    StagePrivacyLevel
    | Improve this Doc View Source

    Topic

    Gets the topic of the Stage instance.

    Declaration
    public string Topic { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Equals(DiscordStageInstance)

    Checks whether this DiscordStageInstance is equal to another DiscordStageInstance.

    Declaration
    public bool Equals(DiscordStageInstance e)
    Parameters
    Type Name Description
    DiscordStageInstance e

    DiscordStageInstance to compare to.

    Returns
    Type Description
    System.Boolean

    Whether the DiscordStageInstance is equal to this DiscordStageInstance.

    | Improve this Doc View Source

    Equals(Object)

    Checks whether this DiscordStageInstance is equal to another object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj

    Object to compare to.

    Returns
    Type Description
    System.Boolean

    Whether the object is equal to this DiscordStageInstance.

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code for this DiscordStageInstance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    The hash code for this DiscordStageInstance.

    Overrides
    System.Object.GetHashCode()

    Operators

    | Improve this Doc View Source

    Equality(DiscordStageInstance, DiscordStageInstance)

    Gets whether the two DiscordStageInstance objects are equal.

    Declaration
    public static bool operator ==(DiscordStageInstance e1, DiscordStageInstance e2)
    Parameters
    Type Name Description
    DiscordStageInstance e1

    First channel to compare.

    DiscordStageInstance e2

    Second channel to compare.

    Returns
    Type Description
    System.Boolean

    Whether the two channels are equal.

    | Improve this Doc View Source

    Inequality(DiscordStageInstance, DiscordStageInstance)

    Gets whether the two DiscordStageInstance objects are not equal.

    Declaration
    public static bool operator !=(DiscordStageInstance e1, DiscordStageInstance e2)
    Parameters
    Type Name Description
    DiscordStageInstance e1

    First channel to compare.

    DiscordStageInstance e2

    Second channel to compare.

    Returns
    Type Description
    System.Boolean

    Whether the two channels are not equal.

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems