We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa35b32 commit 0c7539cCopy full SHA for 0c7539c
discord/message.go
@@ -415,6 +415,9 @@ type Attachment struct {
415
ID AttachmentID `json:"id"`
416
// Filename is the name of file attached.
417
Filename string `json:"filename"`
418
+ // Description is the attachment's description. It is a maximum of 1024
419
+ // characters long.
420
+ Description string `json:"description,omitempty"`
421
// ContentType is the media type of file.
422
ContentType string `json:"content_type,omitempty"`
423
// Size is the size of file in bytes.
0 commit comments