Skip to content

ThreadChannel

Extends

Extended by

Constructors

new ThreadChannel()

new ThreadChannel(client, channel, resolved): ThreadChannel

Parameters

ParameterType
clientClient<Transformers, CacheManagerStructure>
channelThreadChannelStructure
resolvedboolean

Returns

ThreadChannel

Overrides

Channel.constructor

Defined in

transformers/src/factories/channel.ts:335

Properties

id

readonly id: string

Inherited from

Channel.id

Defined in

transformers/src/factories/channel.ts:69


type

readonly type: ChannelType

Inherited from

Channel.type

Defined in

transformers/src/factories/channel.ts:70


lastPinTimestamp

readonly lastPinTimestamp: undefined | null | string

Inherited from

Channel.lastPinTimestamp

Defined in

transformers/src/factories/channel.ts:71


flags

readonly flags: number

Inherited from

Channel.flags

Defined in

transformers/src/factories/channel.ts:72


client

readonly client: Client<Transformers, CacheManagerStructure>

Inherited from

Channel.client

Defined in

transformers/src/factories/channel.ts:74


guildId

readonly guildId: string

Defined in

transformers/src/factories/channel.ts:323


parentId

readonly parentId: null | string

Defined in

transformers/src/factories/channel.ts:324


ownerId

readonly ownerId: string

Defined in

transformers/src/factories/channel.ts:325


name

readonly name: string

Defined in

transformers/src/factories/channel.ts:326


lastMessageId

readonly lastMessageId: null | string

Defined in

transformers/src/factories/channel.ts:327


messageCount

readonly messageCount: number

Defined in

transformers/src/factories/channel.ts:328


memberCount

readonly memberCount: number

Defined in

transformers/src/factories/channel.ts:329


threadMetadata

readonly threadMetadata: ThreadMetadataStructure

Defined in

transformers/src/factories/channel.ts:330


totalMessageSent

readonly totalMessageSent: number

Defined in

transformers/src/factories/channel.ts:331


member

readonly member: undefined | ThreadMember

Defined in

transformers/src/factories/channel.ts:332


defaultThreadRateLimitPerUser

readonly defaultThreadRateLimitPerUser: number

Defined in

transformers/src/factories/channel.ts:333

Methods

send()

send(content, options)

send(content, options?): Promise<Message>

Parameters
ParameterType
contentstring
options?MessageSendOptions
Returns

Promise<Message>

Inherited from

Channel.send

Defined in

transformers/src/factories/channel.ts:88

send(options)

send(options): Promise<Message>

Parameters
ParameterType
optionsMessageSendOptions
Returns

Promise<Message>

Inherited from

Channel.send

Defined in

transformers/src/factories/channel.ts:89


isText()

isText(): this is GuildTextChannel

Returns

this is GuildTextChannel

Inherited from

Channel.isText

Defined in

transformers/src/factories/channel.ts:129


isDM()

isDM(): this is DMChannel

Returns

this is DMChannel

Inherited from

Channel.isDM

Defined in

transformers/src/factories/channel.ts:133


isVoice()

isVoice(): this is GuildVoiceChannel

Returns

this is GuildVoiceChannel

Inherited from

Channel.isVoice

Defined in

transformers/src/factories/channel.ts:137


isGroupDM()

isGroupDM(): this is GroupDMChannel

Returns

this is GroupDMChannel

Inherited from

Channel.isGroupDM

Defined in

transformers/src/factories/channel.ts:141


isCategory()

isCategory(): this is GuildChannelCategory

Returns

this is GuildChannelCategory

Inherited from

Channel.isCategory

Defined in

transformers/src/factories/channel.ts:145


isAnnouncement()

isAnnouncement(): this is GuildAnnouncementChannel

Returns

this is GuildAnnouncementChannel

Inherited from

Channel.isAnnouncement

Defined in

transformers/src/factories/channel.ts:149


isAnnouncementThread()

isAnnouncementThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

Channel.isAnnouncementThread

Defined in

transformers/src/factories/channel.ts:153


isPublicThread()

isPublicThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

Channel.isPublicThread

Defined in

transformers/src/factories/channel.ts:157


isPrivateThread()

isPrivateThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

Channel.isPrivateThread

Defined in

transformers/src/factories/channel.ts:161


isStageVoice()

isStageVoice(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

Channel.isStageVoice

Defined in

transformers/src/factories/channel.ts:165


isDirectory()

isDirectory(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

Channel.isDirectory

Defined in

transformers/src/factories/channel.ts:169


isForum()

isForum(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

Channel.isForum

Defined in

transformers/src/factories/channel.ts:173


isMedia()

isMedia(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

Channel.isMedia

Defined in

transformers/src/factories/channel.ts:177


hasMember()

hasMember(): this is ThreadChannel & Object

Returns

this is ThreadChannel & Object

Defined in

transformers/src/factories/channel.ts:354