Skip to main content

repost

Function repost 

Source
pub fn repost(event: &Event, relay: Option<RelayUrl>) -> EventBuilder
Expand description

A repost of event, yet to be signed (NIP-18): of kind 6 for a text note and of kind 16, naming the kind, for anything else. It carries the event whole, so that it can be shown without being looked for, unless its author asked that it go nowhere they didn’t send it (NIP-70). relay is one that has the event, for those who look anyway.