.applyEditPatch(data)
data: APIChannel → void
channel.applyEditPatch(data);Class
A text channel in a guild (supports sending messages).
Extends TextCapable(GuildChannel)
new TextChannel(client: Client, data: APIChannel)ClientAPIChannel| Name | Type | Description |
|---|---|---|
| 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. |
data: APIChannel → void
channel.applyEditPatch(data);