Function create_and_sign_encrypted_message
Source pub fn create_and_sign_encrypted_message(
bridge: &mut SignalBridge,
session_id: &str,
encrypted_content: &str,
timestamp: u64,
project_version: &str,
) -> Result<String, Box<dyn Error>>
Expand description
Creates and signs a Nostr encrypted message event
§Arguments
bridge - Signal bridge instance
session_id - Recipient’s session identifier
encrypted_content - Hex-encoded encrypted content
timestamp - Unix timestamp
project_version - Protocol version string
§Returns
Signed Nostr event JSON