docs(Attachment): add MIME types link to contentType

backport 9824
This commit is contained in:
Elysia
2024-09-17 17:16:52 +07:00
parent 94f90e8aaf
commit 293a8b8fd8

View File

@@ -125,8 +125,9 @@ class MessageAttachment {
if ('content_type' in data) {
/**
* The media type of this attachment
* The media (MIME) type of this attachment
* @type {?string}
* @see {@link https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types}
*/
this.contentType = data.content_type;
} else {