mirror of
https://github.com/diamondburned/arikawa.git
synced 2024-11-27 17:23:00 +00:00
discord: Add missing ContentType to Attachment (#262)
This commit is contained in:
parent
f7880b91ee
commit
21888dcfc2
|
@ -357,6 +357,8 @@ type Attachment struct {
|
|||
ID AttachmentID `json:"id"`
|
||||
// Filename is the name of file attached.
|
||||
Filename string `json:"filename"`
|
||||
// ContentType is the media type of file.
|
||||
ContentType string `json:"content_type"`
|
||||
// Size is the size of file in bytes.
|
||||
Size uint64 `json:"size"`
|
||||
|
||||
|
|
Loading…
Reference in a new issue