Skip to main content

publish

Function publish 

Source
async fn publish(
    service: NostrService,
    signer: Signer,
    author: PublicKey,
    target: Target,
    answered: Option<PublicKey>,
    text: String,
    said: Vec<Tag>,
) -> Result<Note, PublishFailure>
Expand description

Have signer sign text as author’s note, or reply to what target names, which answered wrote, and send it to the relays, with said for what it says of the files it links to. The text of a quote names what it quotes already. Returns it as a row shows it.