Function add_contact_and_establish_session_from_base64
Source pub fn add_contact_and_establish_session_from_base64(
bridge: &mut SignalBridge,
bundle_base64: &str,
user_alias: &str,
) -> Result<String, Box<dyn Error>>
Expand description
Adds a contact from a base64-encoded bundle and establishes a session
§Arguments
bridge - Signal bridge instance
bundle_base64 - Base64-encoded prekey bundle
user_alias - Optional user-assigned alias
§Returns
RDX fingerprint of the added contact