Skip to content

GuildAnnouncementChannel

Extends

Constructors

new GuildAnnouncementChannel()

new GuildAnnouncementChannel(client, channel, resolved): GuildAnnouncementChannel

Parameters

ParameterType
clientClient<Transformers, CacheManagerStructure>
channelBaseGuildChannelStructure
resolvedboolean

Returns

GuildAnnouncementChannel

Inherited from

GuildChannel.constructor

Defined in

transformers/src/factories/channel.ts:205

Properties

id

readonly id: string

Inherited from

GuildChannel.id

Defined in

transformers/src/factories/channel.ts:69


type

readonly type: ChannelType

Inherited from

GuildChannel.type

Defined in

transformers/src/factories/channel.ts:70


lastPinTimestamp

readonly lastPinTimestamp: undefined | null | string

Inherited from

GuildChannel.lastPinTimestamp

Defined in

transformers/src/factories/channel.ts:71


flags

readonly flags: number

Inherited from

GuildChannel.flags

Defined in

transformers/src/factories/channel.ts:72


client

readonly client: Client<Transformers, CacheManagerStructure>

Inherited from

GuildChannel.client

Defined in

transformers/src/factories/channel.ts:74


guildId

readonly guildId: string

Inherited from

GuildChannel.guildId

Defined in

transformers/src/factories/channel.ts:195


name

readonly name: string

Inherited from

GuildChannel.name

Defined in

transformers/src/factories/channel.ts:196


position

readonly position: number

Inherited from

GuildChannel.position

Defined in

transformers/src/factories/channel.ts:197


permissionOverwrites

readonly permissionOverwrites: OverwriteStructure[]

Inherited from

GuildChannel.permissionOverwrites

Defined in

transformers/src/factories/channel.ts:198


nsfw

readonly nsfw: boolean

Inherited from

GuildChannel.nsfw

Defined in

transformers/src/factories/channel.ts:199


topic

readonly topic: null | string

Inherited from

GuildChannel.topic

Defined in

transformers/src/factories/channel.ts:200


lastMessageId

readonly lastMessageId: null | string

Inherited from

GuildChannel.lastMessageId

Defined in

transformers/src/factories/channel.ts:201


parentId

readonly parentId: null | string

Inherited from

GuildChannel.parentId

Defined in

transformers/src/factories/channel.ts:202


defaultAutoArchiveDuration

readonly defaultAutoArchiveDuration: AutoArchiveDuration

Inherited from

GuildChannel.defaultAutoArchiveDuration

Defined in

transformers/src/factories/channel.ts:203

Methods

send()

send(content, options)

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

Parameters
ParameterType
contentstring
options?MessageSendOptions
Returns

Promise<Message>

Inherited from

GuildChannel.send

Defined in

transformers/src/factories/channel.ts:88

send(options)

send(options): Promise<Message>

Parameters
ParameterType
optionsMessageSendOptions
Returns

Promise<Message>

Inherited from

GuildChannel.send

Defined in

transformers/src/factories/channel.ts:89


isText()

isText(): this is GuildTextChannel

Returns

this is GuildTextChannel

Inherited from

GuildChannel.isText

Defined in

transformers/src/factories/channel.ts:129


isDM()

isDM(): this is DMChannel

Returns

this is DMChannel

Inherited from

GuildChannel.isDM

Defined in

transformers/src/factories/channel.ts:133


isVoice()

isVoice(): this is GuildVoiceChannel

Returns

this is GuildVoiceChannel

Inherited from

GuildChannel.isVoice

Defined in

transformers/src/factories/channel.ts:137


isGroupDM()

isGroupDM(): this is GroupDMChannel

Returns

this is GroupDMChannel

Inherited from

GuildChannel.isGroupDM

Defined in

transformers/src/factories/channel.ts:141


isCategory()

isCategory(): this is GuildChannelCategory

Returns

this is GuildChannelCategory

Inherited from

GuildChannel.isCategory

Defined in

transformers/src/factories/channel.ts:145


isAnnouncement()

isAnnouncement(): this is GuildAnnouncementChannel

Returns

this is GuildAnnouncementChannel

Inherited from

GuildChannel.isAnnouncement

Defined in

transformers/src/factories/channel.ts:149


isAnnouncementThread()

isAnnouncementThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

GuildChannel.isAnnouncementThread

Defined in

transformers/src/factories/channel.ts:153


isPublicThread()

isPublicThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

GuildChannel.isPublicThread

Defined in

transformers/src/factories/channel.ts:157


isPrivateThread()

isPrivateThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

GuildChannel.isPrivateThread

Defined in

transformers/src/factories/channel.ts:161


isStageVoice()

isStageVoice(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

GuildChannel.isStageVoice

Defined in

transformers/src/factories/channel.ts:165


isDirectory()

isDirectory(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

GuildChannel.isDirectory

Defined in

transformers/src/factories/channel.ts:169


isForum()

isForum(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

GuildChannel.isForum

Defined in

transformers/src/factories/channel.ts:173


isMedia()

isMedia(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

GuildChannel.isMedia

Defined in

transformers/src/factories/channel.ts:177