Skip to main content
Module

x/revoltio/mod.ts>TextChannel

No-nonsense Revolt library for nodejs and deno.
Latest
class TextChannel
implements TextBasedChannel
extends ServerChannel
Re-export
import { TextChannel } from "https://deno.land/x/revoltio@v1.0.0/mod.ts";

Constructors

new
TextChannel(client: Client, data: APITextChannel)

Properties

readonly
lastMessage: Message | null
lastMessageId: string | null
messages: MessageManager
readonly
type

Methods

protected
_patch(data: APITextChannel): this
bulkDelete(messages: MessageResolvable[] | Collection<string, Message> | number): Promise<void>
send(options: MessageOptions | string): Promise<Message>