Properties
createdAt
→ DateTime
Gets creation timestamp included in Snowflake
no setter inherited
description
→ String ?
Description for the file
no setter
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.
no setter
filename
→ String
The attachment's filename.
no setter
hashCode
→ int
The hash code for this object.
no setter inherited
height
→ int ?
The attachment's height, if an image.
no setter
id
→ Snowflake
ID of entity as Snowflake
final inherited
isSpoiler
→ bool
Indicates if attachment is spoiler
no setter
proxyUrl
→ String ?
The attachment's proxy URL.
no setter
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
size
→ int
The attachment's file size.
no setter
url
→ String
The attachment's URL.
no setter
width
→ int ?
The attachment's width, if an image.
no setter
Operators
operator == (dynamic other )
→ bool
The equality operator.
inherited