Class MessageV1

Hierarchy

  • MessageBase
    • MessageV1

Implements

  • MessageV1

Constructors

  • Parameters

    • id: string
    • bytes: Uint8Array
    • obj: Message
    • header: MessageHeaderV1
    • senderAddress: undefined | string

    Returns MessageV1

Properties

ciphertext: Ciphertext
contentType?: ContentTypeId
conversation: undefined = undefined
error?: Error
header: MessageHeaderV1
headerBytes: Uint8Array
id: string

Identifier that is deterministically derived from the bytes of the message header and ciphertext, where all those bytes are authenticated. This can be used in determining uniqueness of messages.

senderAddress: undefined | string

Accessors

  • get recipientAddress(): undefined | string
  • Returns undefined | string

Methods

  • Returns Uint8Array

Generated using TypeDoc