class Message
extends Base
Re-export
import { Message } from "https://deno.land/x/revoltio@v1.0.0/src/structures/mod.ts";
Constructors
new
Message(client: Client, data: API.Message)Properties
readonly
author: User | nullreadonly
channel: TextChannel | DMChannel | GroupChannelreadonly
createdAt: Datereadonly
editedAt: Date | nullembeds: Embed[]
readonly
member: ServerMember | nullmentions: Mentions
readonly
server: Server | nullMethods
protected
_patch(data: API.Message): thisack(): Promise<void>
delete(): Promise<void>
edit(options: MessageEditOptions | string): Promise<void>
inServer(): this is this & { serverId: string; server: Server; channel: TextChannel; }
toString(): string