Class
TextChannel
A text channel in a guild (supports sending messages).
Extends TextCapable(GuildChannel)
Constructor
new TextChannel
(client: Client, data: APIChannel)| Param | Type | Description |
|---|---|---|
| client | Client | |
| data | APIChannel |
Properties
lastMessageId
?: string | nullID of the last message sent in this channel.
nsfw
?: booleanWhether this channel is marked as NSFW.
rateLimitPerUser
?: numberSlowmode rate limit in seconds.
topic
?: string | nullChannel topic.
Methods
applyEditPatch
(data: APIChannel): void| Param | Type | Description |
|---|---|---|
| data | APIChannel |