Skip to main content
Module

x/harmony/deploy.ts>MessageAttachment

An easy to use Discord API Library for Deno.
Go to Latest
class MessageAttachment
Re-export
import { MessageAttachment } from "https://deno.land/x/harmony@v2.9.0/deploy.ts";

Message Attachment that can be sent while Creating Message

Constructors

new
MessageAttachment(
name: string,
blob: Blob | Uint8Array | string,
description?: string,
)

Properties

blob: Blob
optional
description: string
name: string

Methods

toJSON(): undefined

Static Methods

load(
path: string,
filename?: string,
description?: string,
): Promise<MessageAttachment>

Load an Message Attachment from local file or URL