diff --git a/src/main/java/net/dv8tion/jda/api/entities/Message.java b/src/main/java/net/dv8tion/jda/api/entities/Message.java index 1a5dd46362..29dc086a9a 100644 --- a/src/main/java/net/dv8tion/jda/api/entities/Message.java +++ b/src/main/java/net/dv8tion/jda/api/entities/Message.java @@ -140,17 +140,20 @@ public interface Message extends ISnowflake, Formattable String JUMP_URL = "https://discord.com/channels/%s/%s/%s"; /** - * The maximum sendable file size (8 MiB) + * The maximum sendable file size (25 MiB) * * @see MessageRequest#setFiles(Collection) */ - int MAX_FILE_SIZE = 8 << 20; + int MAX_FILE_SIZE = 25 << 20; /** * The maximum sendable file size for nitro (50 MiB) * * @see MessageRequest#setFiles(Collection) + * + * @deprecated Self-bots are not supported anymore and the value is outdated. */ + @Deprecated int MAX_FILE_SIZE_NITRO = 50 << 20; /**