Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denocordts/src/structures/mod.ts>TextChannel

An Object Oriented Discord API wrapper for Deno.
Latest
class TextChannel
extends BaseChannel
Re-export
import { TextChannel } from "https://deno.land/x/denocordts@1.2.0/src/structures/mod.ts";

Constructors

new
TextChannel(d: any, client: Base)

Methods

createInvite(unnamed 0: { maxAge?: number; maxUses?: number; temporary?: boolean; unique?: boolean; })
createThread(unnamed 0: { name: string; autoArchiveDuration?:
| 60
| 1440
| 4320
| 10080
; type: keyof ThreadTypes; slowMode?: number; }
)
createThreadFromMessage(unnamed 0: { messageId: Snowflake; name: string; autoArchiveDuration?:
| 60
| 1440
| 4320
| 10080
; slowMode?: number; }
)