Class

TextChannel

A text channel in a guild (supports sending messages).

Extends TextCapable(GuildChannel)

Constructor

new TextChannel(client: Client, data: APIChannel)
ParamTypeDescription
clientClient
dataAPIChannel

Properties

lastMessageId?: string | null

ID of the last message sent in this channel.

nsfw?: boolean

Whether this channel is marked as NSFW.

rateLimitPerUser?: number

Slowmode rate limit in seconds.

topic?: string | null

Channel topic.

Methods

applyEditPatch(data: APIChannel): void
ParamTypeDescription
dataAPIChannel