defy.tools

Class Notification

Hierarchy (view full)

Constructors

Properties

channel: Channel
channelId: string
contactPubkeys?: string[]
dkxParent: HDKIndex
docIndex: number
error?: ContentError
nostrEvent: Event<number>
ownerPubKey: string
privateChannelKeyset?: DocumentKeyset
type: NotificationType = NotificationType.Unknown
verified: boolean = false
version: number = 1

Accessors

Methods

  • Parameters

    • text: string
    • kind: number
    • Optional created_at: number

    Returns Observable<Note>