Table of Contents

Property AttachmentSizeLimit

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AttachmentSizeLimit

Represents the maximum allowed size per-attachment for the given interaction context.

[JsonProperty("attachment_size_limit", NullValueHandling = NullValueHandling.Ignore)]
public int AttachmentSizeLimit { get; }

Property Value

int

Remarks

For guilds, this is MAX(guild_boost_limit, user_nitro_limit, standard_limit), and in all other contexts it is simply MAX(user_nitro_limit, standard_upload_limit)