decrypt_content

Function decrypt_content 

Source
async fn decrypt_content(msg: &Message, context: &CommandContext) -> String
Expand description

Decrypts the content of a message.

§Arguments

  • msg - The Message whose content to decrypt.
  • context - The CommandContext for accessing identity and friend information.

§Returns

A string containing the decrypted message content, or an error message if decryption fails.