UserMetaData

data class UserMetaData(val name: String? = null, val about: String? = null, val picture: String? = null, val nip05: String? = null, val banner: String? = null, @Json(name = "display_name") val displayName: String? = null, val website: String? = null, val tags: List<Tag> = emptyList()) : EventContent

User metadata (profile). Event kind 0, as defined in nip-01.

Constructors

Link copied to clipboard
constructor(name: String? = null, about: String? = null, picture: String? = null, nip05: String? = null, banner: String? = null, @Json(name = "display_name") displayName: String? = null, website: String? = null, tags: List<Tag> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val about: String? = null
Link copied to clipboard
val banner: String? = null
Link copied to clipboard
val displayName: String? = null
Link copied to clipboard
open override val kind: Int
Link copied to clipboard
val name: String? = null
Link copied to clipboard
val nip05: String? = null
Link copied to clipboard
val picture: String? = null
Link copied to clipboard
open override val tags: List<Tag>
Link copied to clipboard
val website: String? = null

Functions

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