format_channel_invitation

Function format_channel_invitation 

Source
pub fn format_channel_invitation(
    key: Vec<u8>,
    name: Option<String>,
    display_name: Option<String>,
    max_flood_hops: Option<u8>,
    region: Option<Vec<u8>>,
) -> Result<String, MobileError>
Expand description

Build a shareable channel URI.

Supplying name produces the umsh:cs: form, which is not a secret; otherwise the umsh:ck: form is produced, which carries the channel key and grants full membership to anyone who receives it.