detritus
On this page

Basic Channel Structure

import { Structures } from 'detritus-client';

Structures.ChannelBase;
109 properties56 methods15 inheritedsrc/structures/channel.ts:141

Constructor

Properties

_appliedTags?
BaseSet<string>
optional
_availableTags?
_name
string
Default ''
_nicks?
BaseCollection<string, string>
optional
_nsfw?
boolean
optional
_permissionOverwrites?
optional
_permissions?
bigint
optional
_recipients?
optional
applicationId?
string | null
optional
bitrate?
number
optional
client
readonly
Inherited from BaseStructure.client
defaultAutoArchiveDuration?
number
optional
defaultForumLayout?
number
optional
defaultReactionEmoji?
optional
defaultSortOrder?
number | null
optional
defaultThreadRateLimitPerUser?
number
optional
deleted
boolean
Default false
flags?
number
optional
guildId?
string
optional
icon?
string | null
optional
id
string
Default ''
isPartial
boolean
Default false
lastMessageId?
string | null
optional
lastPinTimestampUnix?
number
optional
managed?
boolean
optional
member?
optional
memberCount?
number
optional
messageCount?
number
optional
ownerId?
string
optional
parentId?
string | null
optional
position?
number
optional
rateLimitPerUser?
number
optional
rtcRegion?
string | null
optional
status?
string | null
optional
template?
string
optional
threadMetadata?
optional
topic
string | null
Default null
totalMessageSent?
number
optional
type
Default ChannelTypes.BASE
userLimit?
number
optional
videoQualityMode?
voiceStartTime?
number | null
optional

Accessors

appliedTags
BaseSet<string>
get
availableTags
canAddReactions
boolean
get
canAttachFiles
boolean
get
canDeafenMembers
boolean
get
canEdit
boolean
get
canEditPermissions
boolean
get
canJoin
boolean
get
canManageMessages
boolean
get
canManageThreads
boolean
get
canManageWebhooks
boolean
get
canMentionEveryone
boolean
get
canMessage
boolean
get
canMoveMembers
boolean
get
canMuteMembers
boolean
get
canPrioritySpeaker
boolean
get
canReadHistory
boolean
get
canSendTTSMessage
boolean
get
canSpeak
boolean
get
canStream
boolean
get
canUseExternalEmojis
boolean
get
canUsePrivateThreads
boolean
get
canUsePublicThreads
boolean
get
canUseVAD
boolean
get
canView
boolean
get
children
createdAt
Date
get
createdAtUnix
number
get
defaultIconUrl
string | null
get
guild
Guild | null
get
iconUrl
string | null
get
isClone
boolean
get
Inherited from BaseStructure.isClone
isDm
boolean
get
isDmGroup
boolean
get
isDmSingle
boolean
get
isGuildCategory
boolean
get
isGuildChannel
boolean
get
isGuildDirectory
boolean
get
isGuildForum
boolean
get
isGuildMedia
boolean
get
isGuildNews
boolean
get
isGuildStageVoice
boolean
get
isGuildStore
boolean
get
isGuildText
boolean
get
isGuildThread
boolean
get
isGuildThreadNews
boolean
get
isGuildThreadPrivate
boolean
get
isGuildThreadPublic
boolean
get
isGuildVoice
boolean
get
isLive
boolean
get
isManaged
boolean
get
isObfuscated
boolean
get
isPinned
boolean
get
isSpoiler
boolean
get
isSyncedWithParent
boolean
get
isText
boolean
get
isVoice
boolean
get
joined
boolean
get
lastMessage
Message | null
get
lastPinTimestamp
Date | null
get
members
get
mention
string
get
messages
get
name
string
get
nicks
BaseCollection<string, string>
get
nsfw
boolean
get
owner
User | null
get
permissionOverwrites
get
permissions
bigint
get
recipients
get
shardId
number
get
Inherited from BaseStructure.shardId
stageInstance
get
threads
typing
get
voiceStates
get

Methods

deleteReaction()

async src/structures/channel.ts:715
deleteReaction(messageId: string, emoji: string, userId?: string): Promise<any>
messageId
string
emoji
string
userId?
string
Default '@me'