Skip to main content

message_json_len_with

Function message_json_len_with 

Source
pub fn message_json_len_with(
    content: &str,
    embeds: &[Embed],
    components: &[Component],
) -> usize
Expand description

message_json_len plus the message’s components (§8.14), which count against the same MESSAGE_JSON_MAX.