EventDeletion

data class EventDeletion(val message: String = "", val eventIds: Set<ByteString>, val tags: List<Tag> = eventIds.map { EventTag(it) }) : EventContent

An event deletion request message. Event kind 5, as defined in nip-09.

Constructors

Link copied to clipboard
constructor(message: String = "", eventIds: Set<ByteString>, tags: List<Tag> = eventIds.map { EventTag(it) })

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val eventIds: Set<ByteString>
Link copied to clipboard
open override val kind: Int
Link copied to clipboard
Link copied to clipboard
open override val tags: List<Tag>

Functions

Link copied to clipboard
Link copied to clipboard
open fun sign(sec: SecKey): Event
Link copied to clipboard
open override fun toJsonString(): String