Search Results for

    Show / Hide Table of Contents

    Interface IDiscordChannel

    Represents a discord Channel Structure API model. Docs: https://discord.com/developers/docs/resources/channel#channel-object-channel-structure

    Namespace: Color_Chan.Discord.Core.Common.Models
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public interface IDiscordChannel

    Properties

    | Improve this Doc View Source

    Bitrate

    The bitrate (in bits) of the voice channel.

    Declaration
    int? Bitrate { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    CategoryId

    For guild channels: id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created

    Declaration
    ulong? CategoryId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    GuildId

    The id of the guild (may be missing for some channel objects received over gateway guild dispatches).

    Declaration
    ulong? GuildId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    Icon

    Icon hash.

    Declaration
    string Icon { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Id

    The id of this channel.

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

    LastMessageId

    The id of the last message sent in this channel (may not point to an existing or valid message).

    Declaration
    ulong? LastMessageId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    LastPinTimestamp

    When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned.

    Declaration
    DateTimeOffset? LastPinTimestamp { get; set; }
    Property Value
    Type Description
    System.Nullable<System.DateTimeOffset>
    | Improve this Doc View Source

    Name

    The name of the channel (1-100 characters).

    Declaration
    string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Nsfw

    Whether the channel is nsfw

    Declaration
    bool? Nsfw { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>
    | Improve this Doc View Source

    PermissionOverwrites

    Explicit permission overwrites for members and roles.

    Declaration
    IEnumerable<IDiscordOverwrite> PermissionOverwrites { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordOverwrite>
    | Improve this Doc View Source

    Position

    Sorting position of the channel.

    Declaration
    int? Position { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    Recipients

    The recipients of the DM.

    Declaration
    IEnumerable<IDiscordUser> Recipients { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<IDiscordUser>
    | Improve this Doc View Source

    SlowMode

    Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages or manage_channel, are unaffected

    Declaration
    int? SlowMode { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    Topic

    The channel topic (0-1024 characters).

    Declaration
    string Topic { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Type

    The type of channel.

    Declaration
    DiscordChannelType Type { get; set; }
    Property Value
    Type Description
    DiscordChannelType
    | Improve this Doc View Source

    UserLimit

    The user limit of the voice channel.

    Declaration
    int? UserLimit { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    Extension Methods

    DiscordChannelExtensions.Mention(IDiscordChannel)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX