# Constant limits::MESSAGE_JSON_MAX

> 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

`zaun_community_protocol::limits::MESSAGE_JSON_MAX` · Constant

```rust
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](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/limits/constant.MESSAGE_JSON_MAX.html)
