Class MessageV2

Hierarchy

  • MessageBase
    • MessageV2

Implements

  • MessageV2

Constructors

  • Parameters

    • id: string
    • bytes: Uint8Array
    • obj: Message
    • header: MessageHeaderV2

    Returns MessageV2

Properties

ciphertext: Ciphertext
contentType?: ContentTypeId
error?: Error
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

Methods

  • Returns Uint8Array

Generated using TypeDoc