Optional
collection?: Snowflake
The ID of a collection to upload the image to.
Optional
collectionThe upload token of the collection. Only required if it's private.
Optional
noIf true, the url will directly link to the image instead of an embed.
Optional
openOpen Graph properties for this file.
Optional
color?: string | false
Configures the value for the 'theme-color' OpenGraph meta tag. If set to false, the tag will be omitted entirely.
Optional
description?: string | false
Configures the value for the 'description' OpenGraph meta tag. If set to false, the tag will be omitted entirely.
Optional
discordIf false, discord will not hide the url of the file when sent as a direct link.
Optional
siteConfigures the value for the 'site-name' OpenGraph meta tag. If set to false, the tag will be omitted entirely.
Optional
title?: string | false
Configures the value for the 'title' OpenGraph meta tag. If set to false, the tag will be omitted entirely.
Optional
selfIf true, the file will be automatically deleted after 24 hours.
Optional
token?: Token
Subdomain upload token.
Represents file options which can be utilized in
uploadFile
.