TextChannel
TextChannel ⇐ BaseGuildChannel
Section titled “TextChannel ⇐ BaseGuildChannel”Represents a text channel in a guild.
Kind: global class
Extends: BaseGuildChannel
new TextChannel([data], guildId, client)
Section titled “new TextChannel([data], guildId, client)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data for the text channel. |
| guildId | string | The ID of the guild that the text channel belongs to. |
| client | Client | The client instance. |