Properties
-
createdAt
→ DateTime
-
Gets creation timestamp included in Snowflake
read-onlyinherited
-
description
→ String?
-
Description for the file
read-only
-
ephemeral
→ bool
-
whether this attachment is ephemeral
Note: Ephemeral attachments will automatically be removed after a set period of time.
Ephemeral attachments on messages are guaranteed to be available as long as the message itself exists.
read-only
-
filename
→ String
-
The attachment's filename.
read-only
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
height
→ int?
-
The attachment's height, if an image.
read-only
-
id
→ Snowflake
-
ID of entity as Snowflake
finalinherited
-
isSpoiler
→ bool
-
Indicates if attachment is spoiler
read-only
-
proxyUrl
→ String?
-
The attachment's proxy URL.
read-only
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
size
→ int
-
The attachment's file size.
read-only
-
url
→ String
-
The attachment's URL.
read-only
-
width
→ int?
-
The attachment's width, if an image.
read-only
Operators
-
operator ==(dynamic other)
→ bool
-
The equality operator.
inherited