object NostrEvent extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- NostrEvent
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- type Commitment = (Int, NostrPublicKey, Long, Int, Vector[NostrTag], String)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def authMessage(privateKey: NostrPrivateKey, challenge: String, relay: String, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def commitment(publicKey: NostrPublicKey, kind: NostrEventKind, createdAt: Instant)(implicit codecs: Codecs): String
- def contactList(privateKey: NostrPrivateKey, contacts: Vector[Contact], extraTags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- 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
- def deletion(privateKey: NostrPrivateKey, eventIds: Vector[Sha256Digest], content: String = "", createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def reaction(privateKey: NostrPrivateKey, content: String, event: NostrEvent, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- def recommendServer(privateKey: NostrPrivateKey, url: String, tags: Vector[NostrTag] = Vector.empty, expiration: Option[Instant] = None, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- 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
- def repost(privateKey: NostrPrivateKey, event: NostrEvent, relay: String, createdAt: Instant = Instant.now())(implicit codecs: Codecs): NostrEvent
- 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
- def sha256(publicKey: NostrPublicKey, kind: NostrEventKind, createdAt: Instant)(implicit codecs: Codecs): Sha256Digest
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated