TextBasedChannelFields

export interface TextBasedChannelFields<InGuild extends boolean = boolean>
extends PartialTextBasedChannelFields<InGuild>
export interface TextBasedChannelFields<InGuild extends boolean = boolean>
extends PartialTextBasedChannelFields<InGuild>

No summary provided.

NameConstraintsOptionalDefaultDescription
InGuildbooleanYesbooleanNone
Readonly
lastMessage:Message | null
lastMessageId:Snowflake | null
Readonly
lastPinAt:Date | null
lastPinTimestamp:number | null
awaitMessageComponent(options?):Promise<MappedInteractionTypes[T]>
NameTypeOptionalDescription
optionsAwaitMessageCollectorOptionsParams<T, true>YesNone
awaitMessages(options?):Promise<Collection<Snowflake, Message>>
NameTypeOptionalDescription
optionsAwaitMessagesOptionsYesNone
bulkDelete(messages, filterOld?):Promise<Collection<Snowflake, Message | PartialMessage | undefined>>
NameTypeOptionalDescription
messagesCollection<Snowflake, Message> | readonly MessageResolvable[] | numberNoNone
filterOldbooleanYesNone
createMessageCollector(options?):MessageCollector
NameTypeOptionalDescription
optionsMessageCollectorOptionsYesNone
createMessageComponentCollector(options?):InteractionCollector<MappedInteractionTypes[T]>
NameTypeOptionalDescription
optionsMessageChannelCollectorOptionsParams<T, true>YesNone
createWebhook(options):Promise<Webhook>
NameTypeOptionalDescription
optionsChannelWebhookCreateOptionsNoNone
fetchWebhooks():Promise<Collection<Snowflake, Webhook>>
send(options):Promise<Message<InGuild>>
NameTypeOptionalDescription
optionsstring | MessagePayload | MessageCreateOptionsNoNone
Inherited from PartialTextBasedChannelFields
sendTyping():Promise<void>
setNSFW(nsfw?, reason?):Promise<this>
NameTypeOptionalDescription
nsfwbooleanYesNone
reasonstringYesNone
setRateLimitPerUser(rateLimitPerUser, reason?):Promise<this>
NameTypeOptionalDescription
rateLimitPerUsernumberNoNone
reasonstringYesNone