mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-30 18:53:30 +00:00
discord: Add Attachment.Description (#347)
This commit is contained in:
parent
fa35b32b79
commit
0c7539c6d5
|
@ -415,6 +415,9 @@ type Attachment struct {
|
|||
ID AttachmentID `json:"id"`
|
||||
// Filename is the name of file attached.
|
||||
Filename string `json:"filename"`
|
||||
// Description is the attachment's description. It is a maximum of 1024
|
||||
// characters long.
|
||||
Description string `json:"description,omitempty"`
|
||||
// ContentType is the media type of file.
|
||||
ContentType string `json:"content_type,omitempty"`
|
||||
// Size is the size of file in bytes.
|
||||
|
|
Loading…
Reference in a new issue