CreateTextChannel
Defined in: packages/core/src/channel-create.ts:20
A text or announcement channel.
Extends
Section titled “Extends”CreateBase
Properties
Section titled “Properties”autoArchive?
Section titled “autoArchive?”
optionalautoArchive?:AutoArchive
Defined in: packages/core/src/channel-create.ts:26
kind:
"text"|"announcement"
Defined in: packages/core/src/channel-create.ts:21
name:
string
Defined in: packages/core/src/channel-create.ts:7
1-100 characters.
Inherited from
Section titled “Inherited from”CreateBase.name
optionalnsfw?:boolean
Defined in: packages/core/src/channel-create.ts:23
parent?
Section titled “parent?”
optionalparent?:string
Defined in: packages/core/src/channel-create.ts:9
The category to put it in.
Inherited from
Section titled “Inherited from”CreateBase.parent
permissionOverwrites?
Section titled “permissionOverwrites?”
optionalpermissionOverwrites?:APIOverwrite[]
Defined in: packages/core/src/channel-create.ts:11
Inherited from
Section titled “Inherited from”CreateBase.permissionOverwrites
position?
Section titled “position?”
optionalposition?:number
Defined in: packages/core/src/channel-create.ts:10
Inherited from
Section titled “Inherited from”CreateBase.position
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/core/src/channel-create.ts:13
Audit-log reason.
Inherited from
Section titled “Inherited from”CreateBase.reason
slowmode?
Section titled “slowmode?”
optionalslowmode?:number
Defined in: packages/core/src/channel-create.ts:25
Seconds a member must wait between messages (0-21600).
topic?
Section titled “topic?”
optionaltopic?:string
Defined in: packages/core/src/channel-create.ts:22