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

x/revoltio/src/lib.ts>DMChannel

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

Constructors

new
DMChannel(client: Client, data: APIDirectChannel)

Properties

active: boolean
readonly
lastMessage: Message | null
lastMessageId: string | null
messages: MessageManager
permissions
readonly
type

Methods

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