Skip to main content

msg_ref

Function msg_ref 

Source
pub fn msg_ref(
    name: &str,
    url: &str,
    provider: &str,
    zero_width: bool,
) -> Option<Emote>
Expand description

one per-message ref, or None when the name can’t be a chat word or the url isn’t a plain https link — this is the trust boundary for relay-supplied emotes (a url ends up fetched by the renderer).