Interface: IUploadLimits ​
Defined in: types/instance.ts:29
upload rules this instance enforces, so clients can validate before uploading
Properties ​
| Property | Type | Description | Defined in |
|---|---|---|---|
attachmentExtensions | string[] | extensions accepted as message attachments, lowercase and without a leading dot | types/instance.ts:31 |
emoji? | IEmojiUploadLimits | Absent on older instances. | types/instance.ts:39 |
imageExtensions | string[] | extensions accepted for image-only uploads (avatars, icons, banners) | types/instance.ts:33 |
maxAttachmentsPerMessage | number | maximum media items accepted on a single message | types/instance.ts:35 |
maxFileSizeBytes? | number | Maximum bytes per uploaded file; absent on older instances. | types/instance.ts:37 |
soundboard? | ISoundboardLimits | Absent on older instances. | types/instance.ts:41 |