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
1 changed files with 2 additions and 0 deletions

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