Skip to content

ChannelData

typedef · Source

The data for a guild channel. Type: Object

Properties

name

optional

name: string

The name of the channel

type

optional

type: ChannelType

The type of the channel (only conversion between text and news is supported)

position

optional

position: number

The position of the channel

topic

optional

topic: string

The topic of the text channel

nsfw

optional

nsfw: boolean

Whether the channel is NSFW

bitrate

optional

bitrate: number

The bitrate of the voice channel

userLimit

optional

userLimit: number

The user limit of the voice channel

parent

nullable · optional

parent: CategoryChannelResolvable

The parent of the channel

lockPermissions

optional

lockPermissions: boolean

Lock the permissions of the channel to what the parent's permissions are

permissionOverwrites

optional

permissionOverwrites: Array<OverwriteResolvable> | Collection<Snowflake, OverwriteResolvable>

Permission overwrites for the channel

rateLimitPerUser

optional

rateLimitPerUser: number

The rate limit per user (slowmode) for the channel in seconds

defaultAutoArchiveDuration

optional

defaultAutoArchiveDuration: ThreadAutoArchiveDuration

The default auto archive duration for all new threads in this channel

rtcRegion

nullable · optional

rtcRegion: string

The RTC region of the channel

videoQualityMode

optional

videoQualityMode: VideoQualityMode | number

The camera video quality mode of the channel

flags

optional

flags: ChannelFlagsResolvable

The flags to set on the channel

availableTags

optional

availableTags: Array<GuildForumTagData>

The tags to set as available in a forum channel

defaultReactionEmoji

nullable · optional

defaultReactionEmoji: DefaultReactionEmoji

The emoji to set as the default reaction emoji

defaultThreadRateLimitPerUser

optional

defaultThreadRateLimitPerUser: number

The rate limit per user (slowmode) to set on forum posts

defaultSortOrder

nullable · optional

defaultSortOrder: SortOrderType

The default sort order mode to set on the channel

Unofficial software. Not affiliated with or supported by Discord.