ThreadLikeChannel
Extends
Constructors
new ThreadLikeChannel()
new ThreadLikeChannel(
client,channel,resolved):ThreadLikeChannel
Parameters
| Parameter | Type |
|---|---|
client | Client<Transformers, CacheManagerStructure> |
channel | ThreadLikeChannelStructure |
resolved | boolean |
Returns
Overrides
Defined in
transformers/src/factories/channel.ts:384
Properties
id
readonlyid:string
Inherited from
Defined in
transformers/src/factories/channel.ts:69
type
readonlytype:ChannelType
Inherited from
Defined in
transformers/src/factories/channel.ts:70
lastPinTimestamp
readonlylastPinTimestamp:undefined|null|string
Inherited from
Defined in
transformers/src/factories/channel.ts:71
flags
readonlyflags:number
Inherited from
Defined in
transformers/src/factories/channel.ts:72
client
readonlyclient:Client<Transformers,CacheManagerStructure>
Inherited from
Defined in
transformers/src/factories/channel.ts:74
availableTags
readonlyavailableTags:undefined|ForumTagStructure[]
Defined in
transformers/src/factories/channel.ts:377
appliedTags
readonlyappliedTags:undefined|string[]
Defined in
transformers/src/factories/channel.ts:378
defaultThreadRateLimitPerUser
readonlydefaultThreadRateLimitPerUser:undefined|number
Defined in
transformers/src/factories/channel.ts:379
defaultSortOrder
readonlydefaultSortOrder:undefined|null|SortOrderType
Defined in
transformers/src/factories/channel.ts:380
defaultForumLayout
readonlydefaultForumLayout:undefined|ForumLayoutType
Defined in
transformers/src/factories/channel.ts:381
defaultReactionEmoji
readonlydefaultReactionEmoji:undefined|null|DefaultReactionStructure
Defined in
transformers/src/factories/channel.ts:382
Methods
send()
send(content, options)
send(
content,options?):Promise<Message>
Parameters
| Parameter | Type |
|---|---|
content | string |
options? | MessageSendOptions |
Returns
Promise<Message>
Inherited from
Defined in
transformers/src/factories/channel.ts:88
send(options)
send(
options):Promise<Message>
Parameters
| Parameter | Type |
|---|---|
options | MessageSendOptions |
Returns
Promise<Message>
Inherited from
Defined in
transformers/src/factories/channel.ts:89
isText()
isText():
this is GuildTextChannel
Returns
this is GuildTextChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:129
isDM()
isDM():
this is DMChannel
Returns
this is DMChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:133
isVoice()
isVoice():
this is GuildVoiceChannel
Returns
this is GuildVoiceChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:137
isGroupDM()
isGroupDM():
this is GroupDMChannel
Returns
this is GroupDMChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:141
isCategory()
isCategory():
this is GuildChannelCategory
Returns
this is GuildChannelCategory
Inherited from
Defined in
transformers/src/factories/channel.ts:145
isAnnouncement()
isAnnouncement():
this is GuildAnnouncementChannel
Returns
this is GuildAnnouncementChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:149
isAnnouncementThread()
isAnnouncementThread():
this is ThreadChannel
Returns
this is ThreadChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:153
isPublicThread()
isPublicThread():
this is ThreadChannel
Returns
this is ThreadChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:157
isPrivateThread()
isPrivateThread():
this is ThreadChannel
Returns
this is ThreadChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:161
isStageVoice()
isStageVoice():
this is GuildChannel
Returns
this is GuildChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:165
isDirectory()
isDirectory():
this is GuildChannel
Returns
this is GuildChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:169
isForum()
isForum():
this is ThreadLikeChannel
Returns
this is ThreadLikeChannel
Inherited from
Defined in
transformers/src/factories/channel.ts:173
isMedia()
isMedia():
this is ThreadLikeChannel
Returns
this is ThreadLikeChannel