Skip to main content

encode_outbound

Function encode_outbound 

Source
pub fn encode_outbound(
    message: &OutboundChat,
    sender: &str,
) -> Result<Vec<u8>, Error>
Expand description

Encode the established Titanium/P99 chat layout.

ยงErrors

Returns an error when the sender, recipient, or message cannot be represented by the Titanium packet layout.