MessageAttachment¶
Inherits: DiscordEntity < Reference < Object
Description¶
Represents a resource such as a file or image attached to a message.
Properties¶
type | name |
---|---|
String | filename |
String | description |
String | content_type |
int | size |
String | url |
String | proxy_url |
int | height |
int | width |
bool | ephemeral |
Property Descriptions¶
-
String filename
Name of the attached file.
-
String description
Description for the file.
-
String content_type
The attachment's media type.
-
int size
Size of file in bytes.
-
String url
Source url of file.
-
String proxy_url
A proxied url of file.
-
int height
Height of file (if image).
-
int width
Width of file (if image).
-
bool ephemeral
Whether this attachment is ephemeral.