Skip to content

TextChannel

TextChannel ⇐ BaseGuildChannel

Represents a text channel in a guild.

Kind: global class
Extends: BaseGuildChannel

new TextChannel([data], guildId, client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data for the text channel.
guildIdstringThe ID of the guild that the text channel belongs to.
clientClientThe client instance.