Options
All
  • Public
  • Public/Protected
  • All
Menu

Guild Text Channel, it can also be a news channel.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly _keys

_keys: BaseSet<string> = ...

Readonly _keysMerge

_keysMerge: BaseSet<string> = ...

_name

_name: string = ''

Optional _nicks

_nicks: BaseCollection<string, string>

Optional _nsfw

_nsfw: boolean

Optional _permissionOverwrites

_permissionOverwrites: BaseCollection<string, Overwrite>

Optional _recipients

_recipients: BaseCollection<string, User>

Optional applicationId

applicationId: string

Optional bitrate

bitrate: number

Readonly client

client: ShardClient

deleted

deleted: boolean = false

guildId

guildId: string = ''

Optional icon

icon: null | string

id

id: string = ''

isPartial

isPartial: boolean = false

lastMessageId

lastMessageId: null | string = null

Optional lastPinTimestampUnix

lastPinTimestampUnix: number

Optional member

member: ThreadMember

Optional memberCount

memberCount: number

Optional messageCount

messageCount: number

Optional ownerId

ownerId: string

parentId

parentId: null | string = null

position

position: number = -1

rateLimitPerUser

rateLimitPerUser: number = 0

Optional rtcRegion

rtcRegion: null | string

Optional threadMetadata

threadMetadata: ThreadMetadata

topic

topic: null | string = null

type

type: ChannelTypes = ...

Optional userLimit

userLimit: number

Optional videoQualityMode

videoQualityMode: ChannelVideoQualityModes

Accessors

canAddReactions

  • get canAddReactions(): boolean

canAttachFiles

  • get canAttachFiles(): boolean

canDeafenMembers

  • get canDeafenMembers(): boolean

canEdit

  • get canEdit(): boolean

canEmbedLinks

  • get canEmbedLinks(): boolean

canJoin

  • get canJoin(): boolean

canManageMessages

  • get canManageMessages(): boolean

canManageThreads

  • get canManageThreads(): boolean

canManageWebhooks

  • get canManageWebhooks(): boolean

canMentionEveryone

  • get canMentionEveryone(): boolean

canMessage

  • get canMessage(): boolean

canMoveMembers

  • get canMoveMembers(): boolean

canMuteMembers

  • get canMuteMembers(): boolean

canPrioritySpeaker

  • get canPrioritySpeaker(): boolean

canReadHistory

  • get canReadHistory(): boolean

canSendTTSMessage

  • get canSendTTSMessage(): boolean

canSpeak

  • get canSpeak(): boolean

canStream

  • get canStream(): boolean

canUseExternalEmojis

  • get canUseExternalEmojis(): boolean

canUsePrivateThreads

  • get canUsePrivateThreads(): boolean

canUsePublicThreads

  • get canUsePublicThreads(): boolean

canUseVAD

  • get canUseVAD(): boolean

canView

  • get canView(): boolean

children

createdAt

  • get createdAt(): Date

createdAtUnix

  • get createdAtUnix(): number

defaultIconUrl

  • get defaultIconUrl(): null | string

guild

  • get guild(): null | Guild

iconUrl

  • get iconUrl(): null | string

isClone

  • get isClone(): boolean

isDm

  • get isDm(): boolean

isDmGroup

  • get isDmGroup(): boolean

isDmSingle

  • get isDmSingle(): boolean

isGuildCategory

  • get isGuildCategory(): boolean

isGuildChannel

  • get isGuildChannel(): boolean

isGuildNews

  • get isGuildNews(): boolean

isGuildStageVoice

  • get isGuildStageVoice(): boolean

isGuildStore

  • get isGuildStore(): boolean

isGuildText

  • get isGuildText(): boolean

isGuildThread

  • get isGuildThread(): boolean

isGuildThreadNews

  • get isGuildThreadNews(): boolean

isGuildThreadPrivate

  • get isGuildThreadPrivate(): boolean

isGuildThreadPublic

  • get isGuildThreadPublic(): boolean

isGuildVoice

  • get isGuildVoice(): boolean

isLive

  • get isLive(): boolean

isManaged

  • get isManaged(): boolean

isSyncedWithParent

  • get isSyncedWithParent(): boolean

isText

  • get isText(): boolean

isVoice

  • get isVoice(): boolean

joined

  • get joined(): boolean

jumpLink

  • get jumpLink(): string

lastMessage

  • get lastMessage(): null | Message

lastPinTimestamp

  • get lastPinTimestamp(): null | Date

members

mention

  • get mention(): string

messages

name

  • get name(): string

nicks

nsfw

  • get nsfw(): boolean

owner

  • get owner(): null | User

parent

permissionOverwrites

recipients

shardId

  • get shardId(): number

stageInstance

typing

voiceStates

Methods

[custom]

  • [custom](): object

_getFromSnake

  • _getFromSnake(key: string): any

_setFromSnake

  • _setFromSnake(key: string, value: any): any

addMember

  • addMember(userId: string): Promise<any>

addPinnedMessage

  • addPinnedMessage(messageId: string): Promise<any>

addRecipient

  • addRecipient(userId: string): Promise<any>

bulkDelete

  • bulkDelete(messageIds: string[]): Promise<any>

can

  • can(permissions: PermissionChecks, memberOrRole?: Member | Role, __namedParameters?: { ignoreAdministrator?: boolean; ignoreOwner?: boolean }): boolean

clone

close

createInvite

  • createInvite(options: CreateChannelInvite): Promise<Invite>

createMessage

  • createMessage(options?: string | CreateMessage): Promise<Message>

createReaction

  • createReaction(messageId: string, emoji: string): Promise<any>

createStageInstance

createThread

createWebhook

  • createWebhook(options: CreateWebhook): Promise<Webhook>

crosspostMessage

  • crosspostMessage(messageId: string): Promise<Message>

delete

  • delete(options?: DeleteChannel): Promise<Channel>

deleteMessage

  • deleteMessage(messageId: string, options?: DeleteMessage): Promise<any>

deleteOverwrite

  • deleteOverwrite(overwriteId: string, options?: DeleteChannelOverwrite): Promise<any>

deletePin

  • deletePin(messageId: string): Promise<any>

deleteReaction

  • deleteReaction(messageId: string, emoji: string, userId?: string): Promise<any>

deleteReactions

  • deleteReactions(messageId: string): Promise<any>

deleteStageInstance

  • deleteStageInstance(): Promise<any>

difference

  • difference(key: string, value: any): [boolean, any]

differences

differencesBetween

  • differencesBetween(structure: Structure): null | object

edit

  • edit(options?: EditChannel): Promise<Channel>

editMessage

  • editMessage(messageId: string, options?: EditMessage): Promise<Message>

editOverwrite

  • editOverwrite(overwriteId: string, options?: EditChannelOverwrite): Promise<any>

editStageInstance

  • editStageInstance(options?: EditStageInstance): Promise<any>

fetchCallStatus

  • fetchCallStatus(): Promise<any>

fetchInvites

fetchMembers

fetchMessage

  • fetchMessage(messageId: string): Promise<Message>

fetchMessages

fetchPins

fetchReactions

  • fetchReactions(messageId: string, emoji: string, options?: FetchReactions): Promise<BaseCollection<string, User>>

fetchStageInstance

fetchStoreListing

fetchThreadsActive

fetchThreadsArchivedPrivate

fetchThreadsArchivedPrivateJoined

fetchThreadsArchivedPublic

fetchWebhooks

follow

  • follow(options: FollowChannel): Promise<{ channelId: string; webhookId: string }>

grantEntitlement

  • grantEntitlement(): Promise<void>

hasDifference

  • hasDifference(key: string, value: any): boolean

hasDifferences

hasDifferencesBetween

  • hasDifferencesBetween(structure: Structure): boolean

iconUrlFormat

  • iconUrlFormat(format?: null | string, query?: UrlQuery): null | string

isSyncedWith

join

leave

  • leave(): Promise<any>

merge

mergeValue

  • mergeValue(key: string, value: any): void

removeMember

  • removeMember(userId: string): Promise<any>

removeRecipient

  • removeRecipient(userId: string): Promise<any>

search

  • search(options: SearchOptions, retry?: boolean): Promise<any>

startCallRinging

  • startCallRinging(recipients?: string[]): Promise<any>

stopCallRinging

  • stopCallRinging(recipients?: string[]): Promise<any>

toJSON

  • toJSON(): object

toString

  • toString(): string

triggerTyping

  • triggerTyping(): Promise<any>

turnIntoNewsChannel

  • turnIntoNewsChannel(): Promise<Channel>

turnIntoTextChannel

  • turnIntoTextChannel(): Promise<Channel>

unack

  • unack(): Promise<any>

Generated using TypeDoc