object NostrEvent extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NostrEvent
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Commitment = (Int, NostrPublicKey, Long, Int, Vector[NostrTag], String)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def authMessage(privateKey: NostrPrivateKey, challenge: String, relay: String, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. def commitment(publicKey: NostrPublicKey, kind: NostrEventKind, createdAt: Instant)(implicit codecs: Codecs): String
  8. def contactList(privateKey: NostrPrivateKey, contacts: Vector[Contact], extraTags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  9. def custom(privateKey: NostrPrivateKey, kind: Int, content: String, tags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  10. def deletion(privateKey: NostrPrivateKey, eventIds: Vector[Sha256Digest], content: String = "", createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  11. def encryptedDirectMessage(senderPrivateKey: NostrPrivateKey, content: String, receiverPublicKey: NostrPublicKey, tags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. def reaction(privateKey: NostrPrivateKey, content: String, event: NostrEvent, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  21. def recommendServer(privateKey: NostrPrivateKey, url: String, tags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  22. def reply(privateKey: NostrPrivateKey, content: String, replyTo: NostrEvent, extraTags: Vector[NostrTag] = Vector.empty, subjectPrefix: String = "", expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  23. def repost(privateKey: NostrPrivateKey, event: NostrEvent, relay: String, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  24. def setMetadata(privateKey: NostrPrivateKey, name: Option[String] = None, nip05: Option[Nip05Identifier] = None, about: Option[String] = None, picture: Option[String] = None, extraMetadata: Map[String, String] = Map(), tags: Vector[NostrTag] = Vector(), expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  25. def sha256(publicKey: NostrPublicKey, kind: NostrEventKind, createdAt: Instant)(implicit codecs: Codecs): Sha256Digest
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def textNote(privateKey: NostrPrivateKey, content: String, tags: Vector[NostrTag] = Vector.empty, subject: Option[String] = None, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped