pub async fn send_gift_wrap<'u, I, U, T>(
client: &Client,
relays: I,
receiver: &PublicKey,
rumor: UnsignedEvent,
extra_tags: T,
) -> Result<SendEventOutput, String>Expand description
Seal, wrap and publish a rumor to receiver.
Stands in for 0.44’s Client::gift_wrap / gift_wrap_to, which went away
with the client’s signer. An empty relays publishes pool-wide, matching
gift_wrap; a non-empty one targets those relays, matching gift_wrap_to.