UNPKG

@evolvejs/core

Version:

An advanced Discord API wrapper with TS and JS support

25 lines (24 loc) 845 B
import { Channel } from "./Channel"; import { Objex } from "@evolvejs/objex"; import { Overwrite } from "./Overwrite"; import { Guild } from "../Guild/Guild"; import { MessageEmbed } from "../../Utils/Embed/MessageEmbed"; import { Message } from "../Message/Message"; import { ITextChannel } from "../../Interfaces/TextChannelOptions"; import { EvolveClient } from "../../Client/EvolveClient"; export declare class TextChannel extends Channel { overwrites: Objex<string, Overwrite>; guild?: Guild; position: number; name: string; topic?: string; nsfw: boolean; lastMessage?: string; rateLimit: number; parentId?: string; lastPin?: number; data: ITextChannel; constructor(data: ITextChannel, client: EvolveClient); private _handle; send(content: string | MessageEmbed): Promise<Message>; }