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[ComponentType]>
NameTypeOptionalDescription
optionsAwaitMessageCollectorOptionsParams<ComponentType, 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[ComponentType]>
NameTypeOptionalDescription
optionsMessageChannelCollectorOptionsParams<ComponentType, true>YesNone
createWebhook(options):Promise<Webhook<WebhookType.Incoming>>
NameTypeOptionalDescription
optionsChannelWebhookCreateOptionsNoNone
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