1
0
Fork 0
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:
Juby210 2021-08-12 03:16:50 +02:00 committed by GitHub
parent f7880b91ee
commit 21888dcfc2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`