Skip to content

GroupDMChannel

Extends

Constructors

new GroupDMChannel()

new GroupDMChannel(client, channel, resolved): GroupDMChannel

Parameters

ParameterType
clientClient<Transformers, CacheManagerStructure>
channelGroupDMChannelStructure
resolvedboolean

Returns

GroupDMChannel

Overrides

DMChannel.constructor

Defined in

transformers/src/factories/channel.ts:283

Properties

id

readonly id: string

Inherited from

DMChannel.id

Defined in

transformers/src/factories/channel.ts:69


type

readonly type: ChannelType

Inherited from

DMChannel.type

Defined in

transformers/src/factories/channel.ts:70


lastPinTimestamp

readonly lastPinTimestamp: undefined | null | string

Inherited from

DMChannel.lastPinTimestamp

Defined in

transformers/src/factories/channel.ts:71


flags

readonly flags: number

Inherited from

DMChannel.flags

Defined in

transformers/src/factories/channel.ts:72


client

readonly client: Client<Transformers, CacheManagerStructure>

Inherited from

DMChannel.client

Defined in

transformers/src/factories/channel.ts:74


lastMessageId

readonly lastMessageId: null | string

Inherited from

DMChannel.lastMessageId

Defined in

transformers/src/factories/channel.ts:265


recipients

readonly recipients: User[]

Inherited from

DMChannel.recipients

Defined in

transformers/src/factories/channel.ts:266


name

readonly name: string

Defined in

transformers/src/factories/channel.ts:277


icon

readonly icon: null | string

Defined in

transformers/src/factories/channel.ts:278


ownerId

readonly ownerId: string

Defined in

transformers/src/factories/channel.ts:279


applicationId

readonly applicationId: undefined | string

Defined in

transformers/src/factories/channel.ts:280


managed

readonly managed: undefined | boolean

Defined in

transformers/src/factories/channel.ts:281

Methods

send()

send(content, options)

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

Parameters
ParameterType
contentstring
options?MessageSendOptions
Returns

Promise<Message>

Inherited from

DMChannel.send

Defined in

transformers/src/factories/channel.ts:88

send(options)

send(options): Promise<Message>

Parameters
ParameterType
optionsMessageSendOptions
Returns

Promise<Message>

Inherited from

DMChannel.send

Defined in

transformers/src/factories/channel.ts:89


isText()

isText(): this is GuildTextChannel

Returns

this is GuildTextChannel

Inherited from

DMChannel.isText

Defined in

transformers/src/factories/channel.ts:129


isDM()

isDM(): this is DMChannel

Returns

this is DMChannel

Inherited from

DMChannel.isDM

Defined in

transformers/src/factories/channel.ts:133


isVoice()

isVoice(): this is GuildVoiceChannel

Returns

this is GuildVoiceChannel

Inherited from

DMChannel.isVoice

Defined in

transformers/src/factories/channel.ts:137


isGroupDM()

isGroupDM(): this is GroupDMChannel

Returns

this is GroupDMChannel

Inherited from

DMChannel.isGroupDM

Defined in

transformers/src/factories/channel.ts:141


isCategory()

isCategory(): this is GuildChannelCategory

Returns

this is GuildChannelCategory

Inherited from

DMChannel.isCategory

Defined in

transformers/src/factories/channel.ts:145


isAnnouncement()

isAnnouncement(): this is GuildAnnouncementChannel

Returns

this is GuildAnnouncementChannel

Inherited from

DMChannel.isAnnouncement

Defined in

transformers/src/factories/channel.ts:149


isAnnouncementThread()

isAnnouncementThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

DMChannel.isAnnouncementThread

Defined in

transformers/src/factories/channel.ts:153


isPublicThread()

isPublicThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

DMChannel.isPublicThread

Defined in

transformers/src/factories/channel.ts:157


isPrivateThread()

isPrivateThread(): this is ThreadChannel

Returns

this is ThreadChannel

Inherited from

DMChannel.isPrivateThread

Defined in

transformers/src/factories/channel.ts:161


isStageVoice()

isStageVoice(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

DMChannel.isStageVoice

Defined in

transformers/src/factories/channel.ts:165


isDirectory()

isDirectory(): this is GuildChannel

Returns

this is GuildChannel

Inherited from

DMChannel.isDirectory

Defined in

transformers/src/factories/channel.ts:169


isForum()

isForum(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

DMChannel.isForum

Defined in

transformers/src/factories/channel.ts:173


isMedia()

isMedia(): this is ThreadLikeChannel

Returns

this is ThreadLikeChannel

Inherited from

DMChannel.isMedia

Defined in

transformers/src/factories/channel.ts:177


isManaged()

isManaged(): this is GroupDMChannel & Object

Returns

this is GroupDMChannel & Object

Defined in

transformers/src/factories/channel.ts:293