Skip to main content

ODTranscriptFileData interface

under construction

We are still working the API Reference! This page might be incomplete or doesn't contain all details!

Overview

A universal representatation of a discord message attachment for transcripts.

View Source

Properties


alt type null|string

The alternative text for this file.

View Source


name string string

The name of this file.

View Source


size number number

The size of this file.

View Source


spoiler boolean boolean

Is this file a spoiler?

View Source


type string string

The file type or extension.

View Source


unit type "B"|"KB"|"MB"|"GB"|"TB"

The unit used for the size of this file.

View Source


url string string

The url of this file.

View Source