import { MessageAttachmentResponse } from "@speakeasy-sdks/discord/models/components";
let value: MessageAttachmentResponse = {
id: "<value>",
filename: "your_file_here",
size: 110375,
url: "https://profuse-ethernet.com",
proxyUrl: "https://dimwitted-vaulting.info",
};
Field | Type | Required | Description |
---|---|---|---|
id |
string | ✔️ | N/A |
filename |
string | ✔️ | N/A |
size |
number | ✔️ | N/A |
url |
string | ✔️ | N/A |
proxyUrl |
string | ✔️ | N/A |
width |
number | ➖ | N/A |
height |
number | ➖ | N/A |
durationSecs |
number | ➖ | N/A |
waveform |
string | ➖ | N/A |
description |
string | ➖ | N/A |
contentType |
string | ➖ | N/A |
ephemeral |
boolean | ➖ | N/A |
title |
string | ➖ | N/A |
application |
components.ApplicationResponse | ➖ | N/A |
clipCreatedAt |
Date | ➖ | N/A |
clipParticipants |
components.UserResponse[] | ➖ | N/A |