Skip to content

Constant limits::MESSAGE_JSON_MAX

zaun_community_protocol::limits::MESSAGE_JSON_MAX · Constant

pub const MESSAGE_JSON_MAX: usize = 65_536;

A message’s content and embeds together, as JSON bytes the host writes them (message_json_len), so that every message, message event and report fits a page. One message.send never exceeds it (its envelope is at most MAX_COMMAND); an edit that adds long content beside large stored embeds can.

Full rustdoc page