Skip to main content

written

Function written 

Source
pub fn written(
    account: PublicKey,
    text: &str,
    said: &[Tag],
    now: Timestamp,
) -> String
Expand description

What a draft wrap’s content is before it is encrypted: the note text would be if account published it at now, unsigned, as JSON. Of its tags it has those in said: what it says of the files it links to (NIP-92), which nothing but having sent them tells.