Profile

data class Profile(val publicKey: PublicKey, val name: String?, val displayName: String?, val about: String?, val picture: String?, val website: String?, val banner: String?, val bot: Boolean?, val unknownJson: String, val localOverride: Boolean, val updatedAt: Long, val firstSeenAt: Long? = null)

Effective authenticated profile with an optional local display-name override.

Constructors

Link copied to clipboard
constructor(publicKey: PublicKey, name: String?, displayName: String?, about: String?, picture: String?, website: String?, banner: String?, bot: Boolean?, unknownJson: String, localOverride: Boolean, updatedAt: Long, firstSeenAt: Long? = null)

Properties

Link copied to clipboard

Profile description.

Link copied to clipboard

HTTPS banner URL.

Link copied to clipboard
val bot: Boolean?

Whether the owner declares an automated account.

Link copied to clipboard

Human-friendly display name.

Link copied to clipboard

Earliest stored authenticated event by this author; null when none has been observed.

Link copied to clipboard

Whether the displayed name comes from a local contact.

Link copied to clipboard
val name: String?

NIP-01 short name.

Link copied to clipboard

HTTPS avatar URL.

Link copied to clipboard

Authenticated profile owner.

Link copied to clipboard

Canonical authenticated fields unknown to this SDK version.

Link copied to clipboard

Effective profile timestamp in Unix seconds.

Link copied to clipboard

Profile website URL.