Smith::Mentions::Settings
Inherits Struct < Value < Object
Constructors
new(max_lines : Int32 = DEFAULT_MAX_LINES, max_total_bytes : Int32 = DEFAULT_MAX_TOTAL_BYTES, allow_outside : Bool = false, max_media_bytes : Int32 = Media::DEFAULT_MAX_BYTES)
SourceInstance methods
allow_outside?
Sourcemax_lines
Sourcemax_media_bytes
Its own budget, not a share of max_total_bytes: that one counts what is inlined as text, and a limit meant for source files says nothing about what an image is worth.
max_total_bytes
Source