Table of Contents

Class DiscordPartialChannel

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

A partial channel object

public class DiscordPartialChannel
Inheritance
object
DiscordPartialChannel

Remarks

Partial objects can have any or no data, but the ID is always returned

Fields

PermissionOverwrites

Gets a list of permission overwrites

Properties

Bitrate

Gets this channel's bitrate. This is applicable to voice channels only.

GuildId

Gets ID of the guild to which this channel belongs.

Id

Gets the ID of this object.

IsNsfw

Gets whether this channel is an NSFW channel.

LastMessageId

Gets the ID of the last message sent in this channel. This is applicable to text channels only.

LastPinTimestamp

Gets when the last pinned message was pinned.

Name

Gets the name of this channel.

ParentId

Gets ID of the category that contains this channel. For threads, gets the ID of the channel this thread was created in.

PerUserRateLimit

Gets the slow mode delay configured for this channel.

All bots, as well as users with ManageChannels or ManageMessages permissions in the channel are exempt from slow mode.

Position

Gets the position of this channel.

QualityMode

Gets this channel's video quality mode. This is applicable to voice channels only.

RtcRegionId

Get the name of the voice region

Topic

Gets the channel's topic. This is applicable to text channels only.

Type

Gets the type of this channel.

UserLimit

Gets this channel's user limit. This is applicable to voice channels only.

UserPermissions

Gets the permissions of the user who invoked the command in this channel.

Only sent on the resolved channels of interaction responses for application commands.